Windows安装pytorch3d

conda create -p E:\miniconda3\envs\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

install vs2019layout_16.11.14
use VS 2019 x64 Native tools
set DISTUTILS_USE_SDK=1
set PYTORCH3D_NO_NINJA=1
conda activate pytorch3d
#cd E:\pytorch3d-0.7.2 (this version compile fial)
cd E:\pytorch3d-main
python setup.py install > build.log

pip list
pytorch3d          0.7.2

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

6 − 3 =