Search before asking
Question
I looked a lot of issues and the @zldrobit repo for TFLite export and inference.
But, I'm still lacking on answers in order to add metadatas to my tflite model. I know how to use it in a python script or even with tf.js, but I need to use my converted model in MLKit (a solution by Google) and this platform requires metadatas, especially outputs metadatas to run.
I tried also to add manually metadatas to my model with tflite_support package. Unfortunatly the default object detection template doesn't work because YoloV5 output is only 1 tensor and not 4 tensors as expected by the template. I tried to customize the metadatas add via this package, but nothing seems to work.
I'm still looking for a solution to add metadatas to my TFLite custom model.
I looked this issues' answer @zldrobit any suggestions ? #5030 (comment)
Search before asking
Question
I looked a lot of issues and the @zldrobit repo for
TFLiteexport and inference.But, I'm still lacking on answers in order to add metadatas to my tflite model. I know how to use it in a python script or even with tf.js, but I need to use my converted model in MLKit (a solution by Google) and this platform requires metadatas, especially outputs metadatas to run.
I tried also to add manually metadatas to my model with
tflite_supportpackage. Unfortunatly the default object detection template doesn't work because YoloV5 output is only 1 tensor and not 4 tensors as expected by the template. I tried to customize the metadatas add via this package, but nothing seems to work.I'm still looking for a solution to add metadatas to my TFLite custom model.
I looked this issues' answer @zldrobit any suggestions ? #5030 (comment)