facebookresearch / MCC

Multiview Compressive Coding for 3D Reconstruction
Other
631 stars 48 forks source link

Problem with libtorch_cuda_cu.so #11

Open efyphil opened 1 year ago

efyphil commented 1 year ago

I tried to check you demo and use conda pytorch3d env but get this problem Traceback (most recent call last): File "/home/ubuntu/Philip/MCC/demo.py", line 12, in from pytorch3d.io.obj_io import load_obj File "/opt/conda/envs/pytorch3d/lib/python3.9/site-packages/pytorch3d/io/init.py", line 8, in from .obj_io import load_obj, load_objs_as_meshes, save_obj File "/opt/conda/envs/pytorch3d/lib/python3.9/site-packages/pytorch3d/io/obj_io.py", line 22, in from pytorch3d.renderer import TexturesAtlas, TexturesUV File "/opt/conda/envs/pytorch3d/lib/python3.9/site-packages/pytorch3d/renderer/init.py", line 7, in from .blending import ( File "/opt/conda/envs/pytorch3d/lib/python3.9/site-packages/pytorch3d/renderer/blending.py", line 10, in from pytorch3d import _C ImportError: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory

chaoyuaw commented 1 year ago

Hi @efyphil , This seems to be related to PyTorch3D installation issues. I did a quick search on PyTorch3D repo, and found some issues that look similar to yours. For example, https://github.com/facebookresearch/pytorch3d/issues/1246 might be related? Can you try the proposed fixes there?