keras-io icon indicating copy to clipboard operation
keras-io copied to clipboard

keras example Variational Autoencoder: model can't be serialized with tf.keras.models.save_model()

Open silvererudite opened this issue 3 years ago • 0 comments
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

silvererudite avatar Sep 09 '22 12:09 silvererudite