facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.7k stars 1.3k forks source link

Is there a way to install pytorch3d in a virtual environment on Windows without using conda? #1837

Open turugi-ni opened 2 months ago

turugi-ni commented 2 months ago

I need pytorch3d.structures as a module to run Unique3D on Windows. Is there a way to install PyTorch3D in a venv virtual environment without using conda?

bottler commented 2 months ago

Yes, you don't need conda and a virtualenv should be fine. You just need to be careful to get the versions of cuda/cudatoolkit (if you are using GPU) and pytorch consistent with what your machine is running, and build PyTorch3D from source as described in other issues. If you need cuda, note that building on Windows is anyway quite complicated.