Download scripts/run_FL_process.sh from init5iv3/Federated-OCPP1.6-Intrusion-Detection: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/datasets/init5iv3/Federated-OCPP1.6-Intrusion-Detection/resolve/main/scripts/run_FL_process.sh
- Command line
-
hf download hf://datasets/init5iv3/Federated-OCPP1.6-Intrusion-Detection/scripts/run_FL_process.sh
-
curl -L -o run_FL_process.sh https://huggingface.co/datasets/init5iv3/Federated-OCPP1.6-Intrusion-Detection/resolve/main/scripts/run_FL_process.sh
445 Bytes
| # Start the server in the background | |
| python3 -m server --config 'conf/server/ocppflowmeter_config.json' & | |
| # Wait for 3 seconds before starting clients | |
| sleep 3 | |
| # Start clients in the background | |
| python3 -m client 'conf/client_1/ocppflowmeter_config.json' & | |
| python3 -m client 'conf/client_2/ocppflowmeter_config.json' & | |
| python3 -m client 'conf/client_3/ocppflowmeter_config.json' & | |
| # Wait for all background processes to finish | |
| wait |