Faster R-CNN Models from TensorFlow

asked 2019-01-22 20:35:02 -0600

kidako gravatar image

I am trying to generate pbtxt file for faster_rcnn_nas model from TF object detection model zoo [1-2] following this guide [3]. The tf_text_graph_faster_rcnn.py stops with error:

Traceback (most recent call last):
  File "tf_text_graph_faster_rcnn.py", line 241, in <module>
    createFasterRCNNGraph(args.input, args.config, args.output)
  File "tf_text_graph_faster_rcnn.py", line 34, in createFasterRCNNGraph
    features_stride = float(config['feature_extractor'][0]['first_stage_features_stride'][0])
KeyError: 'first_stage_features_stride'

Indeed, config file for faster_rcnn_nas has no 'first_stage_features_stride' field.

Is this model supported by OpenCV?

References.

[1] https://github.com/advanpix/models/bl...

[2] https://github.com/tensorflow/models/...

[3] https://github.com/opencv/opencv/wiki...

edit retag flag offensive close merge delete