Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS: ModuleNotFoundError: No module named 'object_detection' #123

Open
SidMalladi opened this issue Jan 12, 2021 · 0 comments
Open

MacOS: ModuleNotFoundError: No module named 'object_detection' #123

SidMalladi opened this issue Jan 12, 2021 · 0 comments

Comments

@SidMalladi
Copy link

SidMalladi commented Jan 12, 2021

!python {'/content/generate_tfrecord.py'} -x {'/content/Training'} -l {'/content/label_map.pbtxt'} -o {ANNOTATION_PATH + '/train.record'} !python {'/content/generate_tfrecord.py'} -x{'/content/Testing'} -l {'/content/label_map.pbtxt'} -o {ANNOTATION_PATH + '/test.record'}
running which i get the error:
Traceback (most recent call last): File "/content/generate_tfrecord.py", line 29, in <module> from object_detection.utils import dataset_util, label_map_util ModuleNotFoundError: No module named 'object_detection' Traceback (most recent call last): File "/content/generate_tfrecord.py", line 29, in <module> from object_detection.utils import dataset_util, label_map_util ModuleNotFoundError: No module named 'object_detection'

System information:
MacOS Catalina 10.15.3, TensorFlow( latest version)
Have already installed all dependencies through pip. (object-detection api, exported the path in terminal, ran the command "python setup.py install" in the same path)

Thank you! @datitran @experiencor @VictorDDT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant