Ask Your Question
0

tf_text_graph_faster_rcnn.py config file

asked 2019-04-01 10:28:53 -0500

NadavB gravatar image

In the article https://github.com/opencv/opencv/wiki... they explained how to create from a .pb and config file the .pbtxt file. But they did not explain how to create the .config file, from the tensorflow/keras model...

edit retag flag offensive close merge delete

Comments

Not clear. I am training a new model, with some layers, like convolution, pooling, dense layers, etc. I do it in tensorflow-keras. I know how to export the .pb file, but what's the 'config'? how to export it?

NadavB gravatar imageNadavB ( 2019-04-02 04:10:03 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-04-02 01:58:41 -0500

dkurt gravatar image

From the wiki:

Pass a configuration file which was used for training to help script determine hyper-parameters.

edit flag offensive delete link more

Comments

This doesn't answer the question how to generate the config file. How the config file is generate when you train a tensorflow or keras model?

NadavB gravatar imageNadavB ( 2019-04-02 04:07:14 -0500 )edit

This file is written but not is generated. Did you train a model in TensorFlow Object Detection API or use a pre-trained one? Without this config file you cannot train an object detection model in TF OD API.

dkurt gravatar imagedkurt ( 2019-04-02 05:09:27 -0500 )edit

I simply write my own model in tensorflow-keras... Simply python code...

NadavB gravatar imageNadavB ( 2019-04-02 08:27:16 -0500 )edit

And this is Faster-RCNN model, right?

dkurt gravatar imagedkurt ( 2019-04-02 11:37:57 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-04-01 10:28:53 -0500

Seen: 52 times

Last updated: Apr 02