Skip to content

Commit

Permalink
Train callback compatible with 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminastrand committed Jan 8, 2025
1 parent a85fc13 commit f8f9732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cifar100/run_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_api_url(api_url: str, api_port: int, secure: bool = False):
return url


def on_train(in_model):
def on_train(in_model, client_settings):
# Save model to temp file
inpath = helper.get_tmp_path()
with open(inpath, "wb") as fh:
Expand Down

0 comments on commit f8f9732

Please sign in to comment.