Commit c9e2e0e 1 parent 1c40d3a commit c9e2e0e Copy full SHA for c9e2e0e
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ def add_default_checkpointing_config(config):
110
110
111
111
if enable_checkpointing :
112
112
if not there_is_checkpointing :
113
- print ("Enabling ModelCheckpoint since the user defined enable_checkpointing=True." )
113
+ logger . info ("Enabling ModelCheckpoint since the user defined enable_checkpointing=True." )
114
114
115
115
config ["ModelCheckpoint" ] = StateDictAwareModelCheckpoint
116
116
config ["ModelCheckpoint.filename" ] = "{epoch}"
@@ -120,7 +120,7 @@ def add_default_checkpointing_config(config):
120
120
config ["StateDictModelCheckpoint.save_weights_only" ] = True
121
121
config ["StateDictModelCheckpoint.monitor" ] = "val/loss"
122
122
else :
123
- print ("No extra checkpoint config will be added, since the user already defined it in the callbacks." )
123
+ logger . info ("No extra checkpoint config will be added, since the user already defined it in the callbacks." )
124
124
125
125
return config
126
126
You can’t perform that action at this time.
0 commit comments