Deep-Learning icon indicating copy to clipboard operation
Deep-Learning copied to clipboard

No module named 'object_detection'

Open NguyenTam1997 opened this issue 7 years ago • 1 comments

When I creating the TFR datasets with create_pet_tf_record.py Error: Traceback (most recent call last): File "C:\Users\NguyenThiTam\Desktop\object_demo\create_pet_tf_record.py", line 39, in from object_detection.utils import dataset_util ImportError: No module named 'object_detection' I try run: python setup.py install with cmd as admin Error: python: can't open file 'setup.py': [Errno 2] No such file or directory

I using Window 8.1 Can you help me??? Thank you.

NguyenTam1997 avatar Dec 11 '17 16:12 NguyenTam1997

Download the repo: https://github.com/tensorflow/models Open CMD in the \research directory and run

SET PYTHONPATH=%cd%:%cd%\slim

karkinissan avatar Dec 21 '17 06:12 karkinissan