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.93k stars 1.3k forks source link

Protobuf error! #253

Open smalgan opened 5 years ago

smalgan commented 5 years ago

I wanted to edit the protobuf by adding 2f and the newly added calibration code. But this time it says ".: Permission denied". What is the problem? Tensorflow 1.13 CUDA 9 cudnn 7.5 Win 10

protoc --python_out=. .\object_detection\protos\anchor_generator.proto .\object_detection\protos\argmax_matcher.proto .\object_detection\protos\bipartite_matcher.proto .\object_detection\protos\box_coder.proto .\object_detection\protos\box_predictor.proto .\object_detection\protos\eval.proto .\object_detection\protos\faster_rcnn.proto .\object_detection\protos\faster_rcnn_box_coder.proto .\object_detection\protos\grid_anchor_generator.proto .\object_detection\protos\hyperparams.proto .\object_detection\protos\image_resizer.proto .\object_detection\protos\input_reader.proto .\object_detection\protos\losses.proto .\object_detection\protos\matcher.proto .\object_detection\protos\mean_stddev_box_coder.proto .\object_detection\protos\model.proto .\object_detection\protos\optimizer.proto .\object_detection\protos\pipeline.proto .\object_detection\protos\post_processing.proto .\object_detection\protos\preprocessor.proto .\object_detection\protos\region_similarity_calculator.proto .\object_detection\protos\square_box_coder.proto .\object_detection\protos\ssd.proto .\object_detection\protos\ssd_anchor_generator.proto .\object_detection\protos\string_int_label_map.proto .\object_detection\protos\train.proto .\object_detection\protos\keypoint_box_coder.proto .\object_detection\protos\multiscale_anchor_generator.proto .\object_detection\protos\graph_rewriter.proto . \object_detection\protos\calibration.proto

EdjeElectronics commented 5 years ago

Make sure you are running the Anaconda Prompt program as an Administrator. You can do this by right-clicking the Anaconda Prompt icon and selecting "Run as Administrator". Please close the issue if that solves it!

Rajamohanreddyai commented 5 years ago

hi,

check this one, run the below command from research path

protoc --python_out=. .\object_detection\protos\calibration.proto

and verify below video

https://youtu.be/nZUxoHPFf4

Rajamohanreddyai commented 5 years ago

Hi, check this link https://youtu.be/nZUxoHPFf4w

jetstreamc commented 5 years ago

@EdjeElectronics Please include .\object_detection\protos\calibration.proto in the readme section 2f.

dtlam26 commented 3 years ago

This is because the protoc is not authorize to run. Switch to run as administrator in Windows or give the protoc file chmod 777