I own an OpenMV CAM H7
I built and trained a CNN model using Keras and converted it to tflite using the following code:
model = tf.keras.models.load_model('/content/model1_954.h5') converter = tf.lite.TFLiteConverter.from_keras_model(model) converter.optimizations = [tf.lite.Optimize.DEFAULT] converter.target_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8] tflite_quant_model = converter.convert()
I added it to the 32GB sd card that I had put in the cam, when I load the model using tf.load() function, I get the following error:
OSError: tensorflow/lite/micro/kernels/fully_connected.cc Hybrid models are not supported on TFLite Micro.
Please help me resolve this issue. I need to make this model work on this camera module, it is basically a classification model.