Closed Abdelfatah1998 closed 1 year ago
filepath
for myCallbacks.py#L261 like introduced in tf.keras.callbacks.ModelCheckpoint:
- model_checkpoint = ModelCheckpoint(checkpoint, verbose=1)
+ model_checkpoint = ModelCheckpoint(os.path.splitext(checkpoint)[0] + "_epoch{epoch:02d}.h5", verbose=1)
os.remove
line in evals.py#L131-L132.Noted with thanks! Appreciate it.
Hi, How can I edit the callbacks so that I can also save the weights after each epoch in separate folder or with different file name (so that I can have the weights for each epoch after the training finish)?
Example: Epoch1weigths.h5 Epoch2weights.h5 .. etc