You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason PyTorch3D built without cuda. You could try ensuring CUDA_HOME is set, creating a new environment. Then try to build pytorch3d again, setting the environment variable FORCE_CUDA to 1.
I have successfully install pytorch3d with GPU support, let me summarize the process.
First i mannually set force_cuda to 1, but 'pip install -e .' still didn't execute def get_extensions(), then i doubt 'pip install -e .' did NOT execute setup.py at all, i insert some prints insides setup.py, and run 'pip install -e .', it still not print out any print statements, so maybe 'pip install -e .' really didn't execute setup.py.
I go to INSTALL.md, reread the guide, find there is anther install method : python setup.py install
execxuting python setup.py install, this time the windows prompt print out those print statements i inserted, so it proves setup.py has been executed.
from the log, i found some warning and error, then i go to https://github.com/NVIDIA/cub/releases, download its source code, and set env variable CUB_HOME to its folder path, then i also use the x64 Native Tools Command Prompt for VS 2019 instead of common cmd prompt.
Although the Issues alrady have some similar issues, but i didn't notice a workable solution, so i open a new issue.
My computer system is Windows 10 .

Pytorch env are :
I install pytorch3d by :
then i use pytorch3d to run this repo: https://github.com/ascust/3DMM-Fitting-Pytorch, it reports error:
The text was updated successfully, but these errors were encountered: