Lingxiang Zheng
Lingxiang Zheng
I have tested the same code in an environment where TensorFlow 2.15.0.post1 is installed without Keras 3.0.4, with a slight modification: replacing `import keras` with `from tensorflow import keras`. In...
Hi @james77777778 , Thank you for sharing your suggestion to use the `keras.Model.export` API! I tested it out, and it worked as you described. I did notice a small potential...
Hi @SuryanarayanaY After reading the Keras source code, I noticed that the `model.export` function is actually implemented using `ExportArchive`, which ultimately calls `tf.saved_model.save()`. This raises a question: does saving a...
Hi @SuryanarayanaY , Thank you for your response and for pointing out the migration documentation regarding the saving of Keras 3 models using the `tf.saved_model.save` API. I appreciate the clarification...
Hi @SuryanarayanaY , I have another question. I found that using `model.export` or `keras.export.ExportArchive()` allows for successful saving of models with image augmentation layers, which addresses the problem mentioned in...
@SuryanarayanaY Thank you for confirming the behavior with the augmentation layers and for providing the reference gist. Of course, models without augmentation layers can indeed be saved successfully in the...
@marcelo-bn You can try tf serving. It is designed specifically for serving models in production.