Open WuFengGitHub opened 5 years ago
You can try changing 'from preprocessing import ssd_vgg_preprocessing’ to 'import ssd_vgg_preprocessing', because they're in the same folder。In the same way,in ssd_vgg_preprocessing.py, turn 'from preprocessing import tf_image' into 'import tf_image'. Good luck, bro.
I have encountered a problem with ‘cannot import name 'ssd_vgg_300' from 'nets'’. AFTER adding PYTHONPATH: '...YOUR PATH...\SSD-Tensorflow-master' to environment variables, the problem is solved.
I also have such a problem. How can I solve it?
Code: import sys sys.path.insert(0, '../')
or sys.path.append('../')
from nets import ssd_vgg_300, ssd_common, np_methods from preprocessing import ssd_vgg_preprocessing from notebooks import visualization
Error Massage: ImportError Traceback (most recent call last)