Bug description
The callback ModelCheckpoint calls the model's save method, which is overwritten by the Merlin BaseModel implementation. The callback passes the overwrite=True parameter to the save method, which is not supported and raises an error.
Steps/Code to reproduce bug
- Create a
ModelCheckpoint callback.
- Pass it to the
model.fit() method.
Bug description
The callback ModelCheckpoint calls the model's save method, which is overwritten by the Merlin BaseModel implementation. The callback passes the
overwrite=Trueparameter to the save method, which is not supported and raises an error.Steps/Code to reproduce bug
ModelCheckpointcallback.model.fit()method.