GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
FlagOptionsDefaultInfo --data_root String "../datasets/" path to data directory --model_name String "cnn" name of the model (cnn, mlp) --non_iid Int (0 or 1) 1 0: IID, 1: Non-IID --n_clients Int 100 number of the clients --n_shards Int 200 number of shards --frac Float...
Some codes refers tohttps://github.com/Zing22/tf-fed-demo,https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/g3doc/tutorials/mnist/input_data.pyandhttps://github.com/persistforever/cifar10-tensorflow/blob/master/src/dataloader/cifar10.py ...
Implementation of FedAvg on vantage6. Contribute to MyDigiTwinNL/FedAvg_vantage6 development by creating an account on GitHub.
Federated Learning Algorithm (Pytorch) : FedAvg, FedProx, MOON, SCAFFOLD, FedDynRequirementspytorch >= 1.6torchvision >= 0.9.0modelCNN, LeNet, MobileNet, ResNet, GoogLeNetdatasetMNIST, CIFAR10, CIFAR100Usagepython main.py --FL fedavg --train_bs 50 --train_ep 5 --epoch 500 --non_alpha ...
代码来源GitHub - shaoxiongji/federated-learning: A PyTorch Implementation of Federated Learning http://doi.org/10.5281/zenodo.4321561 首先介绍每个py文件的作用。 Fed.py: # 传入的参数w是所有本选中的本地用户都训练完后得到的一个数组,每个元素是一个client训练后的参数字典 ...
代码来源:github.com/shaoxiongji/ 参考lokinko 和 反向人 的文章: lokinko:从零开始 | FedAvg 代码实现详解250 赞同 · 64 评论文章 反向人:【联邦学习新手必看!】手把手教你读懂FedAvg代码并实现运行193 赞同 · 56 评论文章 1. MNIST 数据集与数据分布 这里以 MNIST 数据集为例,该数据集广泛用于手写数字识...
On the Convergence of FedAvg on Non-IID Data. Contribute to lx10077/fedavgpy development by creating an account on GitHub.
Contribute to hustweiwan/DarkFed development by creating an account on GitHub.
Why GitHub? Team Enterprise Explore Marketplace Pricing Sign inSign up Currycurrycurry/FedML forked fromFedML-AI/FedML Watch0 Star0 Fork121 Code Pull requests Actions Projects Security Insights More master BranchesTags FedML/CI-script-fedavg.sh ...