Skip to content

Commit

Permalink
Fixed torch_unet_kvasir workspace (securefederatedai#1269)
Browse files Browse the repository at this point in the history
Signed-off-by: Tarunkumar Banda <[email protected]>
  • Loading branch information
bandatarunkumar authored Jan 16, 2025
1 parent 69a2ceb commit ad43881
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions openfl-workspace/torch_unet_kvasir/plan/plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,29 @@ aggregator :
defaults : plan/defaults/aggregator.yaml
template : openfl.component.Aggregator
settings :
init_state_path : save/torch_unet_kvasir_init.pbuf
best_state_path : save/torch_unet_kvasir_best.pbuf
last_state_path : save/torch_unet_kvasir_last.pbuf
init_state_path : save/init.pbuf
best_state_path : save/best.pbuf
last_state_path : save/last.pbuf
rounds_to_train : 40

collaborator :
defaults : plan/defaults/collaborator.yaml
template : openfl.component.Collaborator
settings :
epochs_per_round : 1.0
polling_interval : 4
delta_updates : false
opt_treatment : RESET

data_loader :
defaults : plan/defaults/data_loader.yaml
template : src.data_loader.PyTorchKvasirDataLoader
template : src.dataloader.PyTorchKvasirDataLoader
settings :
collaborator_count : 2
data_group_name : kvasir
batch_size : 4

task_runner :
defaults : plan/defaults/task_runner.yaml
template : src.fed_unet_runner.PyTorchFederatedUnet
template : src.taskrunner.PyTorchFederatedUnet
settings :
n_channels : 3
n_classes : 1
Expand Down

0 comments on commit ad43881

Please sign in to comment.