hawp: Failed to run the program

Hi, Nan Xue,

Thanks for your excellent work.

I really like your work. After following the instructions to prepare the env and running the script, I got the issue below

(hawp) root@ubuntu1:~/home/deng/projects/wire_frame/hawp# CUDA_VISIBLE_DEVICES=1 python scripts/train.py --config-file config-files/hawp.yaml Traceback (most recent call last): File "scripts/train.py", line 8, in <module> from parsing.detector import WireframeDetector File "/root/home/deng/projects/wire_frame/hawp/parsing/detector.py", line 4, in <module> from parsing.encoder.hafm import HAFMencoder File "/root/home/deng/projects/wire_frame/hawp/parsing/encoder/__init__.py", line 1, in <module> from .hafm import HAFMencoder File "/root/home/deng/projects/wire_frame/hawp/parsing/encoder/hafm.py", line 2, in <module> from parsing import _C ImportError: /root/home/deng/projects/wire_frame/hawp/parsing/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _Z13lsencode_cudaRKN2at6TensorEiiiii

My system is (hawp) root@ubuntu1:~/home/deng/projects/wire_frame/hawp# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic

My cuda driver and toolkit version is NVIDIA-SMI 440.64.00 Driver Version: 440.64.00 CUDA Version: 10.2

Do you have any clue that can help me out? Really appreciate your assistance.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

[1/1] c++ -MMD -MF /root/home/deng/projects/wire_frame/hawp/build/temp.linux-x86_64-3.6/root/home/deng/projects/wire_frame/hawp/parsing/csrc/vision.o.d -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/home/deng/projects/wire_frame/hawp/parsing/csrc -I/root/anaconda3/envs/hawp/lib/python3.6/site-packages/torch/include -I/root/anaconda3/envs/hawp/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/hawp/lib/python3.6/site-packages/torch/include/TH -I/root/anaconda3/envs/hawp/lib/python3.6/site-packages/torch/include/THC -I/root/anaconda3/envs/hawp/include/python3.6m -c -c /root/home/deng/projects/wire_frame/hawp/parsing/csrc/vision.cpp -o /root/home/deng/projects/wire_frame/hawp/build/temp.linux-x86_64-3.6/root/home/deng/projects/wire_frame/hawp/parsing/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H ‘-DPYBIND11_COMPILER_TYPE=“_gcc”’ ‘-DPYBIND11_STDLIB=“_libstdcpp”’ ‘-DPYBIND11_BUILD_ABI=“_cxxabi1011”’ -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14

I carefully read your compile log and found that the nvcc is not called