fchollet / deep-learning-with-python-notebooks

Jupyter notebooks for the code samples of the book "Deep Learning with Python"
MIT License
17.95k stars 8.48k forks source link

modelCheckpoints fail on colab with keras format #231

Open KenoLeon opened 8 months ago

KenoLeon commented 8 months ago

Like title says, also see here :

https://stackoverflow.com/questions/76701617/the-following-arguments-are-not-supported-with-the-native-keras-format-opti/77342304#77342304

They work when I change the format to .tf and add save_format="tf" ...

callbacks = [ keras.callbacks.ModelCheckpoint("jena_lstm.tf", save_best_only=True, save_format="tf") ]