Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs/SK-901 | MonAI README #644

Closed
wants to merge 21 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
comments removed.
root committed Jun 24, 2024
commit 30dc217ec3ae2b136b60d6c89952262818ee104c
2 changes: 1 addition & 1 deletion examples/monai-2D-mednist/client/train.py
Original file line number Diff line number Diff line change
@@ -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") #client_settings["split_index"]
split_index = os.environ.get("FEDN_DATA_SPLIT_INDEX")
lr = client_settings["lr"]

if data_path is None:
2 changes: 1 addition & 1 deletion examples/monai-2D-mednist/client/validate.py
Original file line number Diff line number Diff line change
@@ -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") # client_settings["split_index"]
split_index = os.environ.get("FEDN_DATA_SPLIT_INDEX")

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