jd730 / OICR-pytorch

Pytorch Implementation of Multiple Instance Detection Network with Online Instance Classifier Refinement
MIT License
75 stars 10 forks source link

ModuleNotFoundError: No module named 'model.utils.cython_bbox' #5

Closed zwyyy215 closed 5 years ago

zwyyy215 commented 5 years ago

Hello, I have a new question,I tried to solve it by myself, but I failed. (OICR) mickey@a208-System-Product-Name:~/OICR-pytorch$ CUDA_VISIBLE_DEVICES=0 python3 trainval_net.py --dataset pascal_voc --net vgg16 \

--bs 2 --nw 6 --save_dir='results/test_single' \ --lr 0.001 --cuda --disp_interval 50 --vis \ --checkpoint_interval=500 --model='oicr' --threshold=0.1 Traceback (most recent call last): File "trainval_net.py", line 28, in from roi_data_layer.roidb import combined_roidb File "/home/mickey/OICR-pytorch/lib/roi_data_layer/roidb.py", line 15, in import model.utils.cython_bbox ModuleNotFoundError: No module named 'model.utils.cython_bbox'

jd730 commented 5 years ago

Hi, did you run make.sh which is in lib folder? make.sh installs that file using this

zwyyy215 commented 5 years ago

I know why, after my first successful run, that file was deleted by me, so I had to run make.sh file again. I'm too careless. Thank you for your patient guidance.