kakaxi314 / GuideNet

Implementation for our paper 'Learning Guided Convolutional Network for Depth Completion'
MIT License
154 stars 14 forks source link

Compile error #15

Open ykk136 opened 3 years ago

ykk136 commented 3 years ago

Thank you for your great project. When I compile this project, it shows: unable to execute ':/usr/local/cuda/bin/nvcc': No such file or directory error: command ':/usr/local/cuda/bin/nvcc' failed with exit status 1

my environment is: ubuntu18.04, python3.6.9, pytorch-1.4.0, cuda10.0. When I run other projects on the same platform, it is ok. I don't know why this issue happens, could you show me your environment settings please? Thank you very much!

kakaxi314 commented 3 years ago

It seems you didn't install cuda. You can try "nvcc" to check whether it's installed.

xth3000 commented 3 years ago

Thank you for your great project. After I run setup.py and it successfully compile the Guideconv lib, I run train.py and it shows the error: File "/home/xth824/GuideNet-master/models.py", line 17, in import encoding ModuleNotFoundError: No module named 'encoding' How can I fix this issue? Thanks very much.

kakaxi314 commented 3 years ago

@xth3000 You need to install the package PyTorch-Encoding

xth3000 commented 3 years ago

Thx for your reply! ImportError: /home/xth824/.cache/Python-Eggs/GuideConv-0.0.0-py3.7-linux-x86_64.egg-tmp/GuideConv.cpython-37m-x86_64-linux-gnu.so: undefined symbol: cudaSetupArgument How can I fix this issue? Thanks very much.