-
Notifications
You must be signed in to change notification settings - Fork 127
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_cpu.so: cannot open shared object file: No such file or directory #4
Comments
Hi @hhf-hd , It seems that the environment was not properly installed for some reason. Yes, this code uses GPU by default (if it exists). Did you install the environment via If the above still did not work, try running these commands: and let me know what is the output. Cuda should be available, and use version 10.1 . -Rana |
Hi @RaoHaocheng , So it seems the issue is with the pytorch3D installation (there is no cuda...). Are you using a windows machine? Maybe you can try the steps listed here: facebookresearch/pytorch3d#172 (comment) |
@RaoHaocheng Also, you might want to try with PyTorch 1.4 instead of 1.5 (it seems that 1.5 might require cuda 10.2?). Did you try installation from the conda env like written in the README? |
@ranahanocka, Thanks for you. I have run it successfully on GPUs. I found that the problem caused by CUDA on the system. My CUDA on the system is 9.2. However, my CUDA on the Conda is 10.1, which causes pytorch3d can't run. So I change the CUDA on the Conda to 9.2. And I install Pytorch3d of CUDA 9.2, which can be found in https://anaconda.org/pytorch3d/pytorch3d/files. So my config is |
thanks for you reply! |
Hi @hhf-hd , Yes, we did compare to Poisson reconstruction (you can see the details in the paper). In general, Poisson reconstruction is probably the most common technique for surface reconstruction, which incorporates some type of smoothness prior. Where as here we use a "self-prior". In theory, a large number of faces is possible, but will require splitting the mesh into more than 8 parts. I think the largest we tried was 80k faces. Line 70 in c56d89b
|
Hi,@ranahanocka. |
I have encountered such a mistake:
Traceback (most recent call last):
File "main.py", line 6, in
from models.losses import chamfer_distance
File "/home/lab505/gpu_point2mesh/models/losses.py", line 3, in
from pytorch3d.structures.pointclouds import Pointclouds
File "/home/lab505/anaconda3/envs/p2m/lib/python3.8/site-packages/pytorch3d/structures/init.py", line 4, in
from .pointclouds import Pointclouds
File "/home/lab505/anaconda3/envs/p2m/lib/python3.8/site-packages/pytorch3d/structures/pointclouds.py", line 5, in
from .. import ops
File "/home/lab505/anaconda3/envs/p2m/lib/python3.8/site-packages/pytorch3d/ops/init.py", line 5, in
from .graph_conv import GraphConv
File "/home/lab505/anaconda3/envs/p2m/lib/python3.8/site-packages/pytorch3d/ops/graph_conv.py", line 6, in
from pytorch3d import _C
ImportError: libtorch_cpu.so: cannot open shared object file: No such file or directory
here is my configure:
cudatoolkit 10.1.243
pytorch 1.4.0 py3.8_cuda10.1.243_cudnn7.6.3_0
pytorch3d 0.2.0
but after i use another configure :
pytorch 1.5.0 py3.8_cpu_0 [cpuonly]
pytorch3d 0.2.0 pypi_0
it works,but it's too slow ,so i wonder if your code are running on GPU?
look forword to your help,thanks !
The text was updated successfully, but these errors were encountered: