tflite-support icon indicating copy to clipboard operation
tflite-support copied to clipboard

error: Last version of task library code is broken

Open mohaned-abid opened this issue 4 years ago • 2 comments

few weeks ago this tensorflow official tutorial used to work now it breaks in model.evalute_tflite(test_data) with the follwing error: InvalidArgumentError: required broadcastable shapes [Op:Mul]

image

mohaned-abid avatar Aug 30 '21 15:08 mohaned-abid

@lintian06 is this in Model Maker? Feel free to reassign it back to me if it's not.

lu-wang-g avatar Aug 30 '21 17:08 lu-wang-g

Okay sorry I forgot the links to the tutorial : https://colab.research.google.com/github/googlecodelabs/odml-pathways/blob/main/object-detection/codelab2/python/Train_a_salad_detector_with_TFLite_Model_Maker.ipynb

https://codelabs.developers.google.com/tflite-object-detection-android#6

I managed to solve the problem by using an older version of nightly model maker

@lintian06 @lu-wang-g

mohaned-abid avatar Aug 31 '21 00:08 mohaned-abid