1/16/2024

from pytorch3d.renderer import ( ModuleNotFoundError: No module named 'pytorch3d' (gw_text3d_py39...

1. requirements

conda create -n pytorch3d python=3.9
conda activate pytorch3d
conda install pytorch=1.13.0 torchvision pytorch-cuda=11.6 -c pytorch -c nvidia
conda install -c fvcore -c iopath -c conda-forge fvcore iopath

 

conda install -c bottler nvidiacub

 * otherwise

curl -LO https://github.com/NVIDIA/cub/archive/1.10.0.tar.gz
tar xzf 1.10.0.tar.gz
export CUB_HOME=$PWD/cub-1.10.0


 .

 

 2.Installing prebuilt binaries for PyTorch3D

# Anaconda Cloud
conda install pytorch3d -c pytorch3d

 

or 

# Anaconda Cloud
conda install pytorch3d -c pytorch3d-nightly


or install from whell

pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu113_pyt1110/download.html



refer to this page: https://github.com/facebookresearch/pytorch3d/blob/main/INSTALL.md


Thank  you!



 

No comments:

Post a Comment