question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NO MODULE NAMED 'DEPLOYMENT'

See original GitHub issue

Hi, 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:open
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
MinaYousryGhattascommented, Dec 11, 2018

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 to from slim.deployment import model_deploy

1reaction
EdjeElectronicscommented, May 14, 2018
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found