openai / shap-e

Generate 3D objects conditioned on text or images
MIT License
11.62k stars 945 forks source link

PyTorch3D's rendering exception: 'pytorch3d' module not found #81

Open LauraAurora opened 1 year ago

xaranex1 commented 1 year ago

Where on colab?

Sadegh-Kalami commented 1 year ago

Hey there. I recommend you run code on Linux, Google Colab, or Kaggle.👍🏻

💯 For solving pytorch3D use the below code to install pytorch3D on Google Colab or use the below link to read the Special install of pytorch3d (see here) import sys import torch pyt_version_str=torch.__version__.split("+")[0].replace(".", "") version_str="".join([ f"py3{sys.version_info.minor}_cu", torch.version.cuda.replace(".",""), f"_pyt{pyt_version_str}" ]) !pip install fvcore iopath !pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/{version_str}/download.html link to My Google Colab: https://colab.research.google.com/drive/1dm1p1tj2sIaxToPn2bP31v3GquE0MdvE?usp=sharing