liren2515/DrapeNet

issue with train_encdec.py

Yashaswini2039 opened this issue · 2 comments

As i was trying to train the model i encountered an error with "python train_encdec.py # add </path/to/run/cfg/file> to restore training"

Traceback (most recent call last):
File "train_encdec.py", line 7, in
from trainers.encdec import EncoderDecoderTrainer
File "/workspace/DrapeNet/encdec/../trainers/encdec.py", line 14, in
from models.dgcnn import Dgcnn
File "/workspace/DrapeNet/encdec/../models/dgcnn.py", line 5, in
from pytorch3d.ops import knn_gather, knn_points
File "/workspace/DrapeNet/.venv/lib/python3.8/site-packages/pytorch3d/ops/init.py", line 7, in
from .ball_query import ball_query
File "/workspace/DrapeNet/.venv/lib/python3.8/site-packages/pytorch3d/ops/ball_query.py", line 10, in
from pytorch3d import _C
ImportError: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory

the libraries where downloaded as suggested but still getting the error

can u help!!!

I think this error comes from the incompatible of the library of your environment. I don't know the exact idea about how to solve it. But I think you need to try to reinstall pytorch3d. There are some guides from pytorch3d telling you how to install it in different ways. You can try them.

i was able to solve it by making few changes in the code....

Thank you 👍