Models: ImportError: No module named 'object_detection'

Created on 27 Jan 2018  路  2Comments  路  Source: tensorflow/models

Hi, I am trying to install the TensowrFlow on Windows 10 64bit.
and I follow the instructions in this Link.
And reached the last step which is "Testing the Installation".
and I have this error:
image

And I added the path of research and slim directory manually in both System variables and User Variables, which is in my disk (D:\HP\丕賱賲爻鬲賳丿丕鬲\GitHub\models\research AND D:\HP\丕賱賲爻鬲賳丿丕鬲\GitHub\models\research\slim)
image

How can I solve this problem?
Thank you

Most helpful comment

I found the solution in WINDOWS like the following:

  1. in 'models/research' directory run
    'python setup.py build'
    'python setup.py install'

    1. go into the 'models/research/slim' run

      'pip install -e .'

Remember if you are using anaconda with multiple envs, you should run those commands for each env

All 2 comments

Hello锛孯ecently, when I tested model_builder_test.py, I met the same problem as you. I tested to add path as you, but it is not useful. So I really want to know whether you have resolved the problem, and how to solve it? Thank you very much

I found the solution in WINDOWS like the following:

  1. in 'models/research' directory run
    'python setup.py build'
    'python setup.py install'

    1. go into the 'models/research/slim' run

      'pip install -e .'

Remember if you are using anaconda with multiple envs, you should run those commands for each env

Was this page helpful?
0 / 5 - 0 ratings