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

Running on CPU only machine produces error: libcudart.so.10.1: No such file or directory #18

Closed
MarlNox opened this issue Dec 31, 2020 · 1 comment

Comments

@MarlNox
Copy link

MarlNox commented Dec 31, 2020

Hello everybody,
When i try to run the script in my own laptop on CPU i get the following error message:

Traceback (most recent call last):
  File "demos/demo_reconstruct.py", line 25, in <module>
    from decalib.deca import DECA
  File "/home/ubuntu/DECA/decalib/deca.py", line 27, in <module>
    from .utils.renderer import SRenderY
  File "/home/ubuntu/DECA/decalib/utils/renderer.py", line 23, in <module>
    from pytorch3d.io import load_obj
  File "/home/ubuntu/.local/lib/python3.8/site-packages/pytorch3d/io/__init__.py", line 4, in <module>
    from .obj_io import load_obj, load_objs_as_meshes, save_obj
  File "/home/ubuntu/.local/lib/python3.8/site-packages/pytorch3d/io/obj_io.py", line 14, in <module>
    from pytorch3d.renderer import TexturesAtlas, TexturesUV
  File "/home/ubuntu/.local/lib/python3.8/site-packages/pytorch3d/renderer/__init__.py", line 3, in <module>
    from .blending import (
  File "/home/ubuntu/.local/lib/python3.8/site-packages/pytorch3d/renderer/blending.py", line 9, in <module>
    from pytorch3d import _C
ImportError: libcudart.so.10.1: cannot open shared object file: No such file or directory

I own a machine which does not have a GPU, running it on Colab with a CPU only setting works without any issues though.
Any ideas on how to fix it?

@SMassalski
Copy link

Hi,

Building pytorch and pytorch3d from source might help according to this thread https://github.com/facebookresearch/pytorch3d/issues/339.

@MarlNox MarlNox closed this as completed Jan 23, 2021
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

2 participants