huhu37 / feddac

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the source code for FedDAC.

Run

Federated learning for ResNet18 on the CIFAR-10 is run with the following command:

python main.py --gpu=0 --epochs=800 --lr=0.0002 --trainer_num=10 --iid_rate=5 --agg=fedcd --low_device=0.1 --method=my --bs=10 --mask_grad

For the CIFAR-100 dataset:

python main.py --gpu=0 --epochs=1000 --lr=0.0001 --trainer_num=10 --iid_rate=50 --agg=fedcd --low_device=0.1 --method=my --bs=24 --mask_grad --num_classes=100

About


Languages

Language:Python 100.0%