Closed XcrossD closed 2 years ago
I encountered wrong tensor type errors when running
python main.py --dataset Mnist-alpha0.1-ratio0.5 --algorithm FedGen --batch_size 32 --num_glob_iters 200 --local_epochs 20 --num_users 10 --lamda 1 --learning_rate 0.01 --model cnn --personal_learning_rate 0.01 --times 3
Not tested on other algorithms
Fixes https://github.com/zhuangdizhu/FedGen/issues/1