models icon indicating copy to clipboard operation
models copied to clipboard

How to implement MASK RCNN on Android?

Open mengxiabing opened this issue 8 years ago • 8 comments

How to implement MASK RCNN on Android?

mengxiabing avatar Mar 17 '18 01:03 mengxiabing

Or implement it with MobileNet

mengxiabing avatar Mar 17 '18 01:03 mengxiabing

@mengxiabing : convert .h5 model to .pb model by this: https://github.com/amir-abdi/keras_to_tensorflow/blob/master/keras_to_tensorflow.py Then use this: https://www.tensorflow.org/mobile/tflite/demo_android to create your mobile app with MaskRCNN

AliceDinh avatar Apr 03 '18 02:04 AliceDinh

If you have any difficulties, refer to this: https://github.com/matterport/Mask_RCNN/issues/218

AliceDinh avatar Apr 03 '18 02:04 AliceDinh

@mengxiabing : convert .h5 model to .pb model by this: https://github.com/amir-abdi/keras_to_tensorflow/blob/master/keras_to_tensorflow.py Then use this: https://www.tensorflow.org/mobile/tflite/demo_android to create your mobile app with MaskRCNN

We can convert the .h5 to .pb file, but putting it in tensorflow android app will not work right? I suppose there is no mask drawing in it. Is there any code on github managed to output the maskrcnn.pb result?

ColinWang1203 avatar Jul 18 '19 02:07 ColinWang1203

any solution for this

kittusster avatar Nov 08 '19 10:11 kittusster

We got a .pth file. How can we connect this to an app?or we should apply another process?

Aisharjaa avatar Aug 24 '21 07:08 Aisharjaa

how to convert mask rcnn h5 custom data model to tflite and how to deploy it on android

Shayendra avatar Aug 28 '21 17:08 Shayendra

Not possible since the operators are not available in tensorflow lite (tflite)

snooplsm avatar Oct 25 '21 22:10 snooplsm