NO MODULE NAMED 'DEPLOYMENT'
See original GitHub issueHi, I have been getting this problem when I try and train the ai. Please could somebody help me. Thanks Error:
` (tensorflow1) C:\Users\owner\Documents\tensorflow1\models-master\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_resnet50_pets.config Traceback (most recent call last): File “train.py”, line 49, in <module> from object_detection import trainer File “C:\Users\owner\Anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\trainer.py”, line 33, in <module> from deployment import model_deploy ModuleNotFoundError: No module named ‘deployment’
`
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ImportError: No module named 'deployment' - Stack Overflow
If you are installing from a clone of the tensorflow/models github you need to be inside models/research folder when you run the command:...
Read more >ModuleNotFoundError: No module named 'deployment'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'deployment' How to remove the ModuleN.
Read more >ImportError: No module named 'deployment' - Ask Ubuntu
Export pythonpath should be done from models/research . You are doing it from models . So, it is taking wrong directory path. Try...
Read more >TensorFlow Models:ImportError: No module named 'deployment'
TensorFlow models:ImportError: No module named 'deployment'. 我们在用tensorflow object detection api的时候,会遇见上述的问题,这时需要加一下 ...
Read more >Deployment of my flask app getting failed with ...
Deployment of my flask app getting failed with ModuleNotFoundError: No module named 'app' ... Hi there,. Glad to hear you were able to...
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
For windows if you are using anaconda add slim folder to …\Anaconda3\envs\{Environment name}\Lib\site-packages\object_detection-0.1-py3.6.egg and change
from deployment import model_deploy
tofrom slim.deployment import model_deploy
Hi, did you already try the steps listed in the tutorial’s Appendix? https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10#appendix-common-errors