yerfor/GeneFacePlusPlus

Failed to install pytorch3d when using Google Colab

thbupt opened this issue · 4 comments

image

Any solutions?

I am also getting the same error on colab.

You can try the method in the official documentation, I've tried it and it works.
1711506885383

@thbupt You can try:
Follow the steps:

conda install -c pytorch pytorch=1.9.1 torchvision cudatoolkit=10.2
conda install -c fvcore -c iopath -c conda-forge fvcore iopath
conda install -c bottler nvidiacub
and finally:
conda install pytorch3d -c pytorch3d
and it's done!

@thbupt You can try: Follow the steps:

conda install -c pytorch pytorch=1.9.1 torchvision cudatoolkit=10.2 conda install -c fvcore -c iopath -c conda-forge fvcore iopath conda install -c bottler nvidiacub and finally: conda install pytorch3d -c pytorch3d and it's done!

I thied this solution but the cudatoolkit version caused problem and had compile errors when running install_ext.sh