Error: no module named object_detection
See original GitHub issueI’ve just arrived to the training step but, trying to initialize it (python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
) it returns this error: from object_detection import trainer ImportError: No module named ‘object_detection’.
I alsoadded both models and slim to a env variable named PYTHON PATH (c:\obj\models; c:\obj\models\slim), where are actually these folders.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
ModuleNotFoundError: No module named 'object_detection'
Well, the only and obvious answer for the error is that the path of the module is not added properly. Besides the various...
Read more >No module named 'object_detection' · Issue #10113 ... - GitHub
ModuleNotFoundError: No module named 'object_detection' error is thrown due to an error in the installation of the object detection api.
Read more >ModuleNotFoundError: No module named 'object-detection'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'object-detection' How to remove the M.
Read more >ModuleNotFoundError: No module named 'object_detection'
Python – ModuleNotFoundError: No module named 'object_detection'. python. i try to train.py in object_detection in under git url. https://github.com/ ...
Read more >How to fix the «No module named 'object_detection' - Dmitry.AI
How to fix the «No module named 'object_detection'» Python error with TensorFlow? TensorFlow Installation.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@TomSala Make sure you run this when you are in the object_detection folder in your anaconda prompt. If this does not work too, try the following by running this following command from the research folder. SET PYTHONPATH=%cd%;%cd%\slim (if you use Windows) or export PYTHONPATH=$PYTHONPATH:pwd:pwd/slim(if you use Linux)
Yes, thank you!