EdjeElectronics / TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10

How to train a TensorFlow Object Detection Classifier for multiple object detection on Windows
Apache License 2.0
2.92k stars 1.3k forks source link

ImportError: cannot import name 'coco' #248

Open Samjith888 opened 5 years ago

Samjith888 commented 5 years ago

Getting the following error when i run the

python model_main.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config

Traceback (most recent call last): File "model_main.py", line 26, in from object_detection import model_lib File "C:\Users\Samjith.CP\PycharmProjects\Training _Tensorflow\models\research \object_detection\model_lib.py", line 27, in from object_detection import eval_util File "C:\Users\Samjith.CP\PycharmProjects\Training _Tensorflow\models\research \object_detection\eval_util.py", line 27, in from object_detection.metrics import coco_evaluation File "C:\Users\Samjith.CP\PycharmProjects\Training _Tensorflow\models\research \object_detection\metrics\coco_evaluation.py", line 20, in from object_detection.metrics import coco_tools File "C:\Users\Samjith.CP\PycharmProjects\Training _Tensorflow\models\research \object_detection\metrics\coco_tools.py", line 47, in from pycocotools import coco ImportError: cannot import name 'coco'

Samjith888 commented 5 years ago

Didn't find anything about COCOAPI in the EdjeElectronics @HiCraigChen @EdjeElectronics

Samjith888 commented 5 years ago

error

AlexTaylorones commented 5 years ago

https://github.com/philferriere/cocoapi you can see this page