facebookresearch / pifuhd

High-Resolution 3D Human Digitization from A Single Image.
Other
9.5k stars 1.44k forks source link

Google Colab notebook does not work with an error. #100

Closed cedro3 closed 3 years ago

cedro3 commented 3 years ago

Google Colab notebook does not work with an error. When I try to move the second Render the result block, I get the following error:

ImportError: /usr/local/lib/python3.6/dist-packages/pytorch3d/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_11DispatchKeyE

PWhiddy commented 3 years ago

According to this https://github.com/facebookresearch/pytorch3d/issues/476

This error may be because the latest version of pytorch3d is only built for pytorch 1.6, while the latest version running is 1.7

I've tried downgrading pytorch to 1.6 but then I see a cuda driver error.

PWhiddy commented 3 years ago

Answer is here in previous issue actually if you look https://github.com/facebookresearch/pifuhd/issues/77#issuecomment-725247401

cedro3 commented 3 years ago

First run the code below. !pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html

Google Colab is now working properly. This issue has been resolved. Thanks!

cedro3 commented 3 years ago

This issue has been resolved.