bourdakos1 / Custom-Object-Detection

Custom Object Detection with TensorFlow
https://medium.freecodecamp.org/tracking-the-millenium-falcon-with-tensorflow-c8c86419225e
MIT License
347 stars 181 forks source link

object_detection/protos/*.proto: No such file or directory #33

Closed Poonamjo closed 5 years ago

Poonamjo commented 6 years ago

Getting error while compiling the protobuf libraries

bourdakos1 commented 6 years ago

Make sure the directory is in your python path

Poonamjo commented 5 years ago

after running the command protoc object_detection/protos/*.proto --python_out=. I am getting below output 'protoc' is not recognized as an internal or external command, operable program or batch file.

Poonamjo commented 5 years ago

I added the directory for protoc.exe to my System variable PATH. But still I am facing the issue object_detection/protos/*.proto: No such file or directory What else needs to be done?

Poonamjo commented 5 years ago

after executing the command python object_detection/create_tf_record.py

I am facing the issue Traceback (most recent call last): File "object_detection/create_tf_record.py", line 39, in from object_detection.utils import dataset_util ModuleNotFoundError: No module named 'object_detection'

bourdakos1 commented 5 years ago

The protobufs are already compiled, so you shouldn’t have to run that command unless you are changing the protobuf code.

As for the second issue, did you add the object detection directory to your path?

bourdakos1 commented 5 years ago

This is my bad, I need to update the instructions. You can follow along with this article: https://link.medium.com/3giFefOgWS

It should have the updated instructions. I’ll try and fix up the readme

Poonamjo commented 5 years ago

I was ae to resolve the above issues. Thanks Need another help I want to train the model resnet50_coco_best_v2.1.0.h5 for radiator images I have prepared the tf record files for train and testing. Can you suggest some help? Regarding its pipeline config, checkpoint and all Please guide

bourdakos1 commented 5 years ago

Hi @Poonamjo, this repo relies on a dated version of the TensorFlow api. We've moved to a more future proof version here: https://github.com/cloud-annotations/training I encourage you to try it out and reopen this issue there if you are still running into problems