I try to train CNN-LSTM model using custom CTC Layer( code from https://keras.io/examples/vision/handwriting_recognition/ ) in google colab. I trained the model following all the steps mentioned in the keras example code, and the only additional change I made was to add a model.save . At first all the predictions were perfectly correct, however after saving the model in my drive and loading them at a new colab session I was getting total random predictions. I found similar problems in link1 and link2, with no clear solution. I also tried model.save_weights, but its not working.
--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/de159cc4-6e64-4f8d-8176-adffafd6d66dn%40googlegroups.com.
HiThanks for the quick reply.
Can you suggest any good method to ensure the same vocabulary preprocessing layer. I tried using pickle files but it fails.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/9bbed518-b038-41d2-8b83-c791e5fcf848n%40googlegroups.com.