ModuleNotFoundError: No module named 'lib.nms'
jinyl777 opened this issue · 10 comments
I follow your read me but sh lib/build.sh not work and I got ModuleNotFoundError: No module named 'lib.nms'
What is the log output after you run the command sh lib/build.sh ?
The output is :
g++ -pthread -shared -L/home/guow/anaconda3/envs/CTtrack/lib -Wl,-rpath=/home/guow/anaconda3/envs/CTtrack/lib,--no-as-needed -L/home/guow/anaconda3/envs/CTtrac/lib -Wl,-rpath=/home/guow/anaconda3/envs/CTtrack/lib,--no-as-needed build/temp.linux-x86_64-3.6/nms_kernel.o build/temp.linux-x86_64-3.6/gpu_nms.o -L/usr/loca/cuda/lib64 -L/home/guow/anaconda3/envs/CTtrack/lib -Wl,--enable-new-dtags,-R/usr/local/cuda/lib64 -lcudart -lpython3.6m -o /home/guow/jin/CTracker-master/lib/ython_nms/gpu_nms.cpython-36m-x86_64-linux-gnu.so
I copy the simpledet/operator_py/nms.py to lib and modify the line2 .cython.cpu_nms to .cpython_nms .
Then I got No module named 'run_for_track' , well seach the file but do not get the file
Is I miss some file ? @pjl1995
I am sorry that I forget to modify it. You can just modify 'run_for_track' to 'test' in train.py and it's OK.
@jinyl777
Hi all, I am so sorry that I forgot to add the nms.py in the lib folder. Now this bug is fixed and you can download the latest code.