mirror of
https://github.com/luxfhe/examples.git
synced 2026-10-30 18:13:15 +00:00
ML examples: - credit_scoring: Credit risk prediction with HMEQ data - disease_prediction: Healthcare ML on encrypted records - cifar: Encrypted image classification - federated_learning: Distributed FHE training - hybrid_model: Mixed FHE/plaintext inference Deployment: - breast_cancer: Cancer detection API - sentiment_analysis: Encrypted NLP - server: FHE inference server Blockchain: - hardhat-template: Solidity + FHE - react-template: Full dApp with FHE
16 lines
398 B
Bash
Executable File
16 lines
398 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Starting server"
|
|
python federated_server.py &
|
|
sleep 10 # Sleep for 3s to give the server enough time to start
|
|
|
|
for i in $(seq 0 1); do
|
|
echo "Starting client $i"
|
|
python federated_client.py &
|
|
done
|
|
|
|
# This will allow you to use CTRL+C to stop all background processes
|
|
trap 'trap - SIGTERM && kill -- -$$' SIGINT SIGTERM
|
|
# Wait for all background processes to complete
|
|
wait
|