TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10 icon indicating copy to clipboard operation
TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10 copied to clipboard

Protobuf error!

Open smalgan opened this issue 6 years ago • 5 comments
trafficstars

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

smalgan avatar Mar 19 '19 19:03 smalgan

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!

EdjeElectronics avatar Apr 02 '19 20:04 EdjeElectronics

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 avatar May 06 '19 12:05 Rajamohanreddyai

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

Rajamohanreddyai avatar May 06 '19 12:05 Rajamohanreddyai

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

jetstreamc avatar May 22 '19 21:05 jetstreamc

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

dtlam26 avatar Sep 05 '21 14:09 dtlam26