No module named 'object_detection'
Closed this issue · 4 comments
Traceback (most recent call last):
File "/content/models/research/object_detection/model_main.py", line 25, in
from object_detection import model_hparams
ModuleNotFoundError: No module named 'object_detection'
Can u give me the Solution for the above issue ?
Hi,
What command are you running?
GoogleCollab :
python <path_to_tensorflow>/models/research/object_detection/model_main.py
--pipeline_config_path=<path_to_tooth-detection>/tooth-detection/models/transfer/faster_rcnn_resnet50_coco.config
--model_dir=<path_to_tooth-detection>/tooth-detection/models/transfer/new_version
--num_train_steps=100000
--alsologtostderr
Are u using Linux to build This? (local_host or server)
I'm sorry i'm not sure I understand.
The ModuleNotFoundError: No module named 'object_detection'
error is probably because you didn't export the python path as it is explained in the installation step
Closing this issue due to inactivity