raccoon_dataset icon indicating copy to clipboard operation
raccoon_dataset copied to clipboard

MacOS: ModuleNotFoundError: No module named 'object_detection'

Open SidMalladi opened this issue 4 years ago • 0 comments

!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

SidMalladi avatar Jan 12 '21 08:01 SidMalladi