I am using Anaconda base environment for second.pytorch of ubuntu 16.04after executing the following:
nvidia-docker run -it --rm -v /media/yy/960evo/datasets/:/root/data -v $HOME/pretrained_models:/root/model --ipc=host second-pytorch:latest
the next thing I excuted is stated below:
python ./pytorch/train.py evaluate --config_path=./configs/car.config --model_dir=/root/model/car
I get the following error:
Traceback (most recent call last): File "/root/second.pytorch/second/core/non_max_suppression/nms_cpu.py", line 10, in <module> from second.core.non_max_suppression.nms import ( ModuleNotFoundError: No module named 'second.core.non_max_suppression.nms'
I also tried to go through the solutions provided and ran the following piece of code:
nvcc -std=c++11 -c -o ../cc/nms/nms_kernel.cu.o ../cc/nms/nms_kernel.cu.cc -I/usr/local/cuda/include -x cu -Xcompiler -fPIC -arch=sm_61 --expt-relaxed-constexpr
I got the following error
gcc: error: ../cc/nms/nms_kernel.cu.cc: No such file or directorygcc: warning: '-x c++' after last input file has no effectgcc: fatal error: no input filescompilation terminated.
any help would be appreciated