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/blob/master/research/object_detection/g3doc/detection_model_zoo.md
[2] https://github.com/tensorflow/models/blob/master/research/object_detection/samples/configs/faster_rcnn_nas_coco.config
[3] https://github.com/opencv/opencv/wiki/TensorFlow-Object-Detection-API