longcw / faster_rcnn_pytorch

Faster RCNN with PyTorch
MIT License
1.71k stars 466 forks source link

ModuleNotFoundError: No module named 'utils' #83

Open jihwan1008 opened 5 years ago

jihwan1008 commented 5 years ago

I'm trying to run this code only with CPU, so I removed all the .cuda() codes. Then, when I executed demo.py, ModuleNotFoundError: No module named 'utils' this error happens. When I checked the python files, most of them had errors importing modules from same directory or sub directories. I can't figure out why. Any help would be appreciated.

saurabhcse15 commented 5 years ago

in code, replace ' from utils ...... ' with 'from faster_rcnn.utils .....'