Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
97 views

Difference between values of logs["accuracy"] and epoch accuracy

I use googlecolab to train my LSTM model. To save accuracy and loss I create custom call back: class CustomSaveMetric(tf.keras.callbacks.Callback): def on_epoch_end(self, epoch, logs=None): ...
Pouria Parhami's user avatar
3 votes
2 answers
4k views

tf.keras how to save ModelCheckPoint object

ModelCheckpoint can be used to save the best model based on a specific monitored metrics. So it obviously has information about the best metrics stored within its object. If you train on google colab ...
kawingkelvin's user avatar
  • 3,971
2 votes
1 answer
597 views

Why can't I load my saved siamese model in Keras?

I'm trying to build a personal Re-ID system, and I use siamese architecture for model training. I use callbacks.ModelCheckpoint to save the model in each epoch. An error occurred while loading the ...
Sajad am's user avatar
0 votes
1 answer
165 views

Keras history order problem when saving to GDrive

My aim is to save Keras logs (accuracies, losses, etc) to Google Drive after every epoch I am using the following code: from google.colab import drive drive.mount('/content/drive') class ...
Boris Mocialov's user avatar