Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5058

How to update .config file using python?

$
0
0

I have a .config file that is in following structure:

model {  ssd {   num_classes: 4   box_coder {   faster_rcnn_box_coder {       y_scale: 10.0       x_scale: 10.0       height_scale: 5.0       width_scale: 5.0  }}

I need to update the variable num_classes. How can it be done? Thanks in advance.


Viewing all articles
Browse latest Browse all 5058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>