-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
This same code worked in the past version, but now it doesn't save the checkpoints anymore.
I tried with
MODEL_OUTPUT = 'example/hello'
MODEL_OUTPUT = 'example/hello/'
MODEL_OUTPUT = 'example/hello/weights'
with 'example/hello/' as an existing folder
checkpoint_callback = ModelCheckpoint(
filepath='%s/' % MODEL_OUTPUT,
save_best_only=True,
verbose=True,
monitor='val_loss',
mode='min'
)
early_stop_callback = EarlyStopping(monitor='val_loss', patience=5)
tt_logger = CMLLogger(LOG_DIR)
trainer = Trainer(logger=tt_logger,
row_log_interval=2,
checkpoint_callback=checkpoint_callback,
early_stop_callback=early_stop_callback,
gradient_clip_val=0.5,
gpus=gpus,
check_val_every_n_epoch=1,
max_nb_epochs=99999,
train_percent_check=train_frac,
log_save_interval=5,
)Desktop (please complete the following information):
- OS:linux/mac
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working