Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory #153

Open
Woo-ing opened this issue Mar 2, 2023 · 2 comments

Comments

@Woo-ing
Copy link

Woo-ing commented Mar 2, 2023

I have get an error when I run the nipynb in Colab :

!source activate hybrik && python scripts/demo_image.py --img-dir examples --out-dir res

Traceback (most recent call last):
File "scripts/demo_image.py", line 12, in
from hybrik.utils.render_pytorch3d import render_mesh
File "/content/HybrIK/hybrik/utils/render_pytorch3d.py", line 3, in
import pytorch3d.renderer
File "/usr/local/envs/hybrik/lib/python3.8/site-packages/pytorch3d/renderer/init.py", line 7, in
from .blending import (
File "/usr/local/envs/hybrik/lib/python3.8/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

Can someone help me?

@alexinnovap
Copy link

This also happened to me, did you manage to fix it?

@AmoghTiwari
Copy link

AmoghTiwari commented Jul 20, 2023

The above issue is an issue with pytorch3d installation. I had also encountered it. And while I was not able to solve this directly, I tried installing things from scratch following pytorch3d's official installation instructions, and was able to solve it eventually. You can look at #186 for details on how I installed the packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants