Open Rocky77JHxu opened 1 week ago
building pytorch3d failure is a big story but not relevent to this project, it is normally caused by your local env configuration. might you could share the full error log to help others understand the error.
As stated in the Pytorch3D installation guide, the most convenient way is to install the pre-compiled version directly.
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
I encountered an error called
Failed to build pytorch3d
while executingpip install - r requirements. txt
. The error log is as follows:Here is my version information and execution process: