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}"
])
print('pip install fvcore iopath')
print('pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/%s/download.html' % version_str)
pip安装pytorch3d时如何快速确定版本
最新推荐文章于 2025-03-27 19:55:59 发布