model=model.fit(
normed_train_data,
train_labels,
epochs=config.epochs,
batch_size = config.batch_size,
verbose=0,
shuffle=True,
steps_per_epoch = int(normed_train_data.shape[0] / config.batch_size) ,
validation_data = (normed_valid_dataset, valid_labels),
callbacks=[
WandbMetricsLogger(),
WandbModelCheckpoint(filepath=“my_model_{epoch:02d}”)
])
TypeError Traceback (most recent call last)
File :16
File /opt/conda/lib/python3.10/site-packages/wandb/integration/keras/callbacks/model_checkpoint.py:94, in WandbModelCheckpoint.init(self, filepath, monitor, verbose, save_best_only, save_weights_only, mode, save_freq, options, initial_value_threshold, **kwargs)
81 def init(
82 self,
83 filepath: StrPath,
(…)
92 **kwargs: Any,
93 ) → None:
—> 94 super().init(
95 filepath=filepath,
96 monitor=monitor,
97 verbose=verbose,
98 save_best_only=save_best_only,
99 save_weights_only=save_weights_only,
100 mode=mode,
101 save_freq=save_freq,
102 options=options,
103 initial_value_threshold=initial_value_threshold,
104 **kwargs,
105 )
106 if wandb.run is None:
107 raise wandb.Error(
108 “You must call wandb.init()
before WandbModelCheckpoint()
”
109 )
TypeError: ModelCheckpoint.init() got an unexpected keyword argument ‘options’
is there an updated version for implementing wandbcallbacks ???