tensorflow / tensorflow/models

Tflite Conversion not supported for mask_rcnn_inception_resnet_v2_1024x1024_coco17_gpu-8?

Open
#10,132 0 comments 0 reactions 3 assignees View on GitHub

Nobody has claimed this yet.

models:research:odapi type:bug
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

1. The entire URL of the file you are using

http://download.tensorflow.org/models/object_detection/tf2/20200711/mask_rcnn_inception_resnet_v2_1024x1024_coco17_gpu-8.tar.gz

2. Describe the bug

According to TensorFlow this model should be able to be converted to Tflite but when I am using the sample Google Colab provided to convert it and I add in the mask_rcnn model, I get this bug.
image

3. Steps to reproduce

Steps to reproduce the behavior.
https://colab.research.google.com/github/tensorflow/models/blob/master/research/object_detection/colab_tutorials/convert_odt_model_to_TFLite.ipynb
Swapped the model in the notebook with the mask_rcnn model http://download.tensorflow.org/models/object_detection/tf2/20200711/mask_rcnn_inception_resnet_v2_1024x1024_coco17_gpu-8.tar.gz
This model comes from this list https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md.

4. Possible Causes

I'm thinking maybe the models/research/object_detection/export_tflite_graph_tf2.py on the Tensor Flow Github has not been updated yet?

Thank you for your help.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.