Hi @loubnabnl I read your article and after that I trained the model in keras this error pop up: NotImplementedError: Saving the model to HDF5 format requires the model to be a Functional model or a Sequential model. It does not work for subclassed models, because such models are defined via the body of a Python method, which isn't safely serializable. Consider saving to the Tensorflow SavedModel format (by setting save_format="tf") or using save_weights.
So it doesn’t let me save the model into a “.h5” file or tensorflowLight.
Can you please help me with it? How can I do the conversation in one of these two file?