Skip to content

Commit

Permalink
Add comments to plan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kta-intel authored Nov 27, 2023
1 parent 69dddf6 commit 5cfe878
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion openfl-workspace/torch_cnn_mnist_fed_eval/plan/plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ aggregator :
init_state_path : save/torch_cnn_mnist_init.pbuf
best_state_path : save/torch_cnn_mnist_best.pbuf
last_state_path : save/torch_cnn_mnist_last.pbuf
######### SET ROUNDS TO 1 #############
rounds_to_train : 1
#######################################
log_metric_callback :
template : src.mnist_utils.write_metric

Expand All @@ -35,21 +37,25 @@ network :
defaults : plan/defaults/network.yaml

assigner :
######### SET ASSIGNER TO ONLY INCLUDE AGGREGATED MODEL VALIDATION #############
template : openfl.component.RandomGroupedAssigner
settings :
task_groups :
- name : validate
percentage : 1.0
tasks :
- aggregated_model_validation
################################################################################

tasks :
######### SET AGGREGATED MODEL VALIDATION AS ONLY TASK #############
aggregated_model_validation:
function : validate
kwargs :
apply : global
metrics :
- acc
####################################################################

compression_pipeline :
defaults : plan/defaults/compression_pipeline.yaml
defaults : plan/defaults/compression_pipeline.yaml

0 comments on commit 5cfe878

Please sign in to comment.