keras-io
keras-io copied to clipboard
keras example Variational Autoencoder: model can't be serialized with tf.keras.models.save_model()
trafficstars
During uploading trained model on hugging face as described here https://keras.io/examples/generative/vae/ it says ValueError: Model should be built before trying to save
Link to Colab example with reproducible error: https://colab.research.google.com/drive/15X_vN59lbWXn2PQyAwWDoU6uBYXkdi2v?usp=sharing