Closed elYeodeol closed 2 years ago
Hi @elYeodeol , Did you get a chance to check this closed issue https://github.com/google/mediapipe/issues/1741
Hi,
thank you for your fast reply @sureshdagooglecom ! I read this issue and the issues related.
I'm facing this particulary error :
It seems that it doesn't really like my tflite conversion : i built a keras model and converted it with
converter.allow_custom_ops = True
converter.target_spec.supported_ops = [
tf.lite.OpsSet.TFLITE_BUILTINS, # enable TensorFlow Lite ops.
tf.lite.OpsSet.SELECT_TF_OPS # enable TensorFlow ops.
]
tflite_model = converter.convert()
with open('model.tflite', 'wb') as f:
f.write(tflite_model)
Did i do the conversion right ? Maybe i am going in the wrong way and my tflite conversion is not really the issue in this...
Thank you in advance for your help
Custom models are not yet supported by the JS APIs. So there's no guarantee that this process will work.
However, if you do want to try to use your own, then be aware that:
Thank you a lot for your reply @tyrmullen ! I have tried every ideas you have suggested me, but same error.
So there is no solution to use my custom model on the web except, maybe the android solution ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
Hey!
I'm trying to use my own custom model on API javascript mediapipe. I already saw this issues https://github.com/google/mediapipe/issues/2761 but no javascript solution has been provided.
Do you have any tips ? tuto ? documentation ? in order to do this, and make my tflite model working one mediapipe?