shunsukesaito / PIFu

This repository contains the code for the paper "PIFu: Pixel-Aligned Implicit Function for High-Resolution Clothed Human Digitization"
https://shunsukesaito.github.io/PIFu/
Other
1.75k stars 342 forks source link

Google Colab demo does not work with an error. #88

Closed cedro3 closed 3 years ago

cedro3 commented 3 years ago

Google Colab demo does not work with an error. When I try to move the first Visualize reconstruction block, I get the following error:

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-pir6zxl2/setup.py'"'"'; file='"'"'/tmp/pip-req-build-pir6zxl2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-sph3atyw/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

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 !pip install pytorch3d

Then delete the code below. !pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'

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

cedro3 commented 3 years ago

This issue has been resolved.