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

Cant run model_main.py successfully because I cannot resolve issues with cocoapi installation - workarounds? #107

Open petertennis opened 6 years ago

petertennis commented 6 years ago

Although the official tensorflow page seems to say that use of pycocotools/cocoapi is optional, model_main.py won't run without it.

I have been beating my head against a wall trying to install pycocotools - the fixes below haven't worked for me: https://github.com/cocodataset/cocoapi/issues/59 https://github.com/cocodataset/cocoapi/issues/185

Is there a way to get training running and understand the outputs without the coco tools stuff ( obviously some functionality will be missing but I don't fully understand what that will be).

Any thoughts appreciated. Feel like hard work to get this stuff running on Windows.

( I am running Python 3.6 on Windows 10 on Azure Data Science Virtual Machine )

JSKim0212 commented 6 years ago

Hi, I had same issue but fixed it. Refer this https://github.com/philferriere/cocoapi Also, you need to check some changes on the setup.py and coco.py