mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-24 16:20:34 +08:00
remove skimage import from most tutorials
Summary: Several tutorials were importing skimage and not using it (and it is not an official dependency of PyTorch3D). Also several had a bad call to plt.grid. Reviewed By: nikhilaravi Differential Revision: D28185822 fbshipit-source-id: adabfd0d4d339e1081c26b7b28f5e3953b492f2e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6fa66f5534
commit
d17b121d9d
@@ -97,7 +97,6 @@
|
||||
"import os\n",
|
||||
"import torch\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"from skimage.io import imread\n",
|
||||
"\n",
|
||||
"from pytorch3d.utils import ico_sphere\n",
|
||||
"import numpy as np\n",
|
||||
@@ -464,7 +463,6 @@
|
||||
" plt.subplot(1, 2, 2)\n",
|
||||
" plt.imshow(target_image.cpu().detach().numpy())\n",
|
||||
" plt.title(title)\n",
|
||||
" plt.grid(\"off\")\n",
|
||||
" plt.axis(\"off\")\n",
|
||||
"\n",
|
||||
"# Plot losses as a function of optimization iteration\n",
|
||||
|
||||
Reference in New Issue
Block a user