2022-05-18 02:59 AM
I have an AI model that detects the human activity and saved the model in .h5 format and converted it into .tflite image. When I upload the image into STMCubeMX and analyze the model, analyze is failing and showing as NOT IMPLEMENTED: Transpose of batch not supported.
Need help with the resolution for above issue. Thanks in Advance.
2022-05-18 05:03 AM
Does the Keras model pass in X-CUBE-AI ?
Could you share the tflite model so we could have a look
2022-05-18 05:43 AM
2022-05-18 08:24 AM
I can reproduce your error with your model, thanks.
I see that your network is in float, did you try to directly import the h5 Keras model ? as X-Cube-AI natively supports Keras it is better to take the original model rather than a transformed one
Regards
2022-05-18 09:34 PM
I'm Okay if my model predicts and throws output in float, I just want the model to work with MCU.
Tried with h5 model and seeing this error:
INTERNAL ERROR: The layer has never been called and thus has no defined input shape.