I am using Anaconda base environment for second.pytorch of ubuntu 16.04 after 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 executed 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 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 directory gcc: warning: '-x c++' after last input file has no effect gcc: fatal error: no input files compilation terminated.

any help would be appreciated


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.