bourdakos1 / Custom-Object-Detection

Custom Object Detection with TensorFlow

Home Page:https://medium.freecodecamp.org/tracking-the-millenium-falcon-with-tensorflow-c8c86419225e

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Poonamjo opened this issue · comments

Getting error while compiling the protobuf libraries

Make sure the directory is in your python path

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.

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?

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'

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?

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

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

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