Run python file stage12.py
to train the model and get the result.
python stage12.py
Run python file stage3_main.py
to train the model and get the result.
python stage3_main.py --num_clients 10 --num_rounds 10 --num_epochs 10 --lr 0.01 --receive_port 12377 --send_port 12378
Hyperparameters are
num_clients
: number of clientsnum_rounds
: number of roundsnum_epochs
: number of epochslr
: learning ratereceive_port
: port for receiving paramssend_port
: port for sending params
Just simply run bash/sweep.sh
to train the model and get the result.
bash bash/sweep.sh