Skip to content

Commit

Permalink
plan.yaml modified in 301 watermarking, and subset of collaborators.
Browse files Browse the repository at this point in the history
Signed-off-by: Parth Mandaliya <parthx.mandaliya@intel.com>
  • Loading branch information
ParthM-GitHub committed Sep 28, 2023
1 parent 7b5d2fd commit 1839223
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ aggregator :
defaults : plan/defaults/aggregator.yaml
template : openfl.experimental.component.Aggregator
settings :
rounds_to_train : 10
rounds_to_train : 1
log_metric_callback :
template : src.utils.write_metric

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ aggregator :
defaults : plan/defaults/aggregator.yaml
template : openfl.experimental.component.aggregator.Aggregator
settings :
rounds_to_train : 10
rounds_to_train : 1
log_metric_callback :
template : src.utils.write_metric

Expand Down
46 changes: 23 additions & 23 deletions temp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,50 +75,50 @@ fx collaborator certify --import ${WORKSPACE_PATH}/agg_to_col_col2_signed_cert.z
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

# # 3rd collaborator
# cd ${WORKSPACE_PATH}
# mkdir col3
# cd col3
cd ${WORKSPACE_PATH}
mkdir col3
cd col3

# fx workspace import --archive ../my_federation.zip
fx workspace import --archive ../my_federation.zip

# cd my_federation
cd my_federation

# fx collaborator create -n col3
fx collaborator create -n col3

# fx collaborator generate-cert-request -n col3
fx collaborator generate-cert-request -n col3

# cd ../../
cd ../../

# # On Aggregator Node
# fx collaborator certify --request-pkg ${WORKSPACE_PATH}/col3/my_federation/col_col3_to_agg_cert_request.zip
fx collaborator certify --request-pkg ${WORKSPACE_PATH}/col3/my_federation/col_col3_to_agg_cert_request.zip

# cd ${WORKSPACE_PATH}/col3/my_federation
cd ${WORKSPACE_PATH}/col3/my_federation

# fx collaborator certify --import ${WORKSPACE_PATH}/agg_to_col_col3_signed_cert.zip
fx collaborator certify --import ${WORKSPACE_PATH}/agg_to_col_col3_signed_cert.zip

# cd ../..
cd ../..

# # 4th collaborator
# cd ${WORKSPACE_PATH}
# mkdir col4
# cd col4
cd ${WORKSPACE_PATH}
mkdir col4
cd col4

# fx workspace import --archive ../my_federation.zip
fx workspace import --archive ../my_federation.zip

# cd my_federation
cd my_federation

# fx collaborator create -n col4
fx collaborator create -n col4

# fx collaborator generate-cert-request -n col4
fx collaborator generate-cert-request -n col4

# cd ../../
cd ../../

# # On Aggregator Node
# fx collaborator certify --request-pkg ${WORKSPACE_PATH}/col4/my_federation/col_col4_to_agg_cert_request.zip
fx collaborator certify --request-pkg ${WORKSPACE_PATH}/col4/my_federation/col_col4_to_agg_cert_request.zip

# cd ${WORKSPACE_PATH}/col4/my_federation
cd ${WORKSPACE_PATH}/col4/my_federation

# fx collaborator certify --import ${WORKSPACE_PATH}/agg_to_col_col4_signed_cert.zip
fx collaborator certify --import ${WORKSPACE_PATH}/agg_to_col_col4_signed_cert.zip

cd ${WORKSPACE_PATH}

Expand Down

0 comments on commit 1839223

Please sign in to comment.