Closed as-icuro closed 4 years ago
Unfortunately, the error messages are misleading here (we will try to improve those), but in general, this network contains many operations that are not supported by NNEF. Namely, the network has dynamic control flow operations (like 'loop' and 'switch') and operations with dynamic output shapes (like bounding-box 'non-max suppression' and 'where') for which NNEF is not prepared yet.
That makes a lot of sense. Thank you for the quick reply.
Hello,
We have been trying to convert Mask_RCNN to NNEF and are running into the following errors. We have tried two different approaches:
1. Converting matterport's Mask_RCNN (Keras -> TensorFlow -> NNEF)
We used the inspect_model.ipynb to load the weights which was trained on the COCO dataset. Once the weights were loaded, we used the method described in this Medium article to convert the Keras model to a TensorFlow frozen graph. After obtaining the frozen graph, we tried using nnef_tools/convert.py to convert the model to NNEF, but then the following error was generated:
2. Converting the model from TensorFlow Model Zoo (TensorFlow -> NNEF)
In this approach, we tried using the model mask_rcnn_resnet101_atrous_coco from the TensorFlow Detection Model Zoo and then tried converting the "frozen_inference_graph.pb" to NNEF using nnef_tools/convert.py. The following error was generated:
What could be causing these errors and how do we resolve them? Any help regarding this issue is much appreciated. Thanks.
Software Versions: