Skip to content

Commit

Permalink
comments removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jun 24, 2024
1 parent 30dc217 commit 9f923d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/monai-2D-mednist/client/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def train(in_model_path, out_model_path, data_path=None, client_settings_path=No
batch_size = client_settings["batch_size"]
max_epochs = client_settings["local_epochs"]
num_workers = client_settings["num_workers"]
split_index = os.environ.get("FEDN_DATA_SPLIT_INDEX")
split_index = os.environ.get("FEDN_DATA_SPLIT_INDEX")
lr = client_settings["lr"]

if data_path is None:
Expand Down
2 changes: 1 addition & 1 deletion examples/monai-2D-mednist/client/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def validate(in_model_path, out_json_path, data_path=None, client_settings_path=

num_workers = client_settings["num_workers"]
batch_size = client_settings["batch_size"]
split_index = os.environ.get("FEDN_DATA_SPLIT_INDEX")
split_index = os.environ.get("FEDN_DATA_SPLIT_INDEX")

if data_path is None:
data_path = os.environ.get("FEDN_DATA_PATH")
Expand Down

0 comments on commit 9f923d8

Please sign in to comment.