Commit 2084160b authored by Amitav Baruah's avatar Amitav Baruah Committed by Facebook GitHub Bot
Browse files

Remove duplicate imports in DensePose tutorial

Summary: We were importing torch, torchvision, PyTorch3D, and sys twice. This is just removing the duplicate (unneeded) imports

Reviewed By: theschnitz

Differential Revision: D24479270

fbshipit-source-id: 1048732f65242eb776c3eef537cb1ae58815c1eb
parent 4d8f132a
...@@ -55,14 +55,6 @@ ...@@ -55,14 +55,6 @@
" !pip install pytorch3d\n", " !pip install pytorch3d\n",
"else:\n", "else:\n",
" !pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'\n", " !pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'\n",
"!pip install torch torchvision\n",
"import sys\n",
"import torch\n",
"if torch.__version__=='1.6.0+cu101' and sys.platform.startswith('linux'):\n",
" !pip install pytorch3d\n",
"else:\n",
" !pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'\n",
" \n",
"# we also install chumpy as it is needed to load the SMPL model pickle file\n", "# we also install chumpy as it is needed to load the SMPL model pickle file\n",
"!pip install chumpy" "!pip install chumpy"
] ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment