Federated Learning with Openfl and Pytorch
This project aims to perform a federated and distributed learning approch to semantic segmentation with Pytorch using the director pattern from Openfl
Simply start the envoys using their associated bash files :
chmod +x start_envoy.sh
./start_envoy.sh $ENVOY_NAME $DIRECTOR_ADDR
with parameters $ENVOY_NAME (name of the envoy, ex : env_one) $DIRECTOR_ADDR (ip address of the director, ex: localhost)
Start the director with
chmod +x start_director.sh
./start_director.sh You can then try to run the notebooks in the research folder
fx director create-workspace -p path/to/director_workspace_dir
fx envoy create-workspace -p path/to/envoy_workspace_dir
fx director start --disable-tls -c director.yaml
ENVOY_NAME=orange_client_1
fx envoy start
-n "$ENVOY_NAME"
--disable-tls
--envoy-config-path envoy_config.yaml
-dh director_fqdn
-dp port
fx director start -c director.yaml
-rc cert/root_ca.crt
-pk cert/priv.key
-oc cert/open.crt
ENVOY_NAME=orange_client1
fx envoy start
-n "$ENVOY_NAME"
--envoy-config-path envoy_config.yaml
-dh director_fqdn
-dp port
-rc cert/root_ca.crt
-pk cert/"$ENVOY_NAME".key
-oc cert/"$ENVOY_NAME".crt