Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuke Uchida committed Aug 17, 2020
1 parent 048884e commit beec5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def main(cfg):
checkpoint_dir.mkdir(exist_ok=True)
callbacks = [
LearningRateScheduler(schedule=scheduler),
ModelCheckpoint(str(checkpoint_dir) + "weights.{epoch:02d}-{val_loss:.2f}.hdf5",
ModelCheckpoint(str(checkpoint_dir) + "/weights.{epoch:02d}-{val_loss:.2f}.hdf5",
monitor="val_loss",
verbose=1,
save_best_only=True,
Expand Down

0 comments on commit beec5e6

Please sign in to comment.