geekyrakshit commited on
Commit
d52e07e
1 Parent(s): ba4ac14

updated training

Browse files
Files changed (1) hide show
  1. enhance_me/zero_dce/zero_dce.py +1 -9
enhance_me/zero_dce/zero_dce.py CHANGED
@@ -138,15 +138,7 @@ class ZeroDCE(Model):
138
  datetime.now().strftime("%Y%m%d-%H%M%S"),
139
  )
140
  tensorboard_callback = keras.callbacks.TensorBoard(log_dir, histogram_freq=1)
141
- model_checkpoint_callback = keras.callbacks.ModelCheckpoint(
142
- os.path.join(self.experiment_name, "weights.h5"),
143
- save_best_only=True,
144
- save_weights_only=True,
145
- )
146
- callbacks = [
147
- tensorboard_callback,
148
- model_checkpoint_callback
149
- ]
150
  if self.using_wandb:
151
  callbacks += [WandbCallback()]
152
  history = self.fit(
 
138
  datetime.now().strftime("%Y%m%d-%H%M%S"),
139
  )
140
  tensorboard_callback = keras.callbacks.TensorBoard(log_dir, histogram_freq=1)
141
+ callbacks = [tensorboard_callback]
 
 
 
 
 
 
 
 
142
  if self.using_wandb:
143
  callbacks += [WandbCallback()]
144
  history = self.fit(