| conda install conda-forge::ffmpeg | |
| ### We recommend torch2.0.1+cuda11.7. | |
| conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.7 -c pytorch -c nvidia | |
| # Install from pytorch3d from conda (For fast installation, Linux only) | |
| conda install pytorch3d::pytorch3d | |
| ## Alternatively, a choice of compatibility, build from Github's source code. | |
| ## It may take a long time (maybe tens of minutes), Proxy is recommended if encountering the time-out problem | |
| pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable" | |
| # MMCV for some network structure | |
| pip install cython | |
| pip install openmim==0.3.9 | |
| mim install mmcv==2.1.0 # use mim to speed up installation for mmcv | |
| # other dependencies | |
| pip install -r docs/prepare_env/requirements.txt -v | |
| # If you encounter the following error, please try to install the dependencies with the following command: | |
| pip install -r docs/prepare_env/requirements.txt -v --use-deprecated=legacy-resolver |