Closed JYWa closed 3 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it!
and we'll verify it.
ℹ️ Googlers: Go here for more info.
@googlebot I signed it
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.
We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent.
in this pull request.
Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla
label to yes
(if enabled on your project).
ℹ️ Googlers: Go here for more info.
@googlebot I consent.
Can we split this into two: one for the dataset, and a second one for the training loop?
Also, we should not make changes to the optimization/ folder. Let us try to merge the python binary in to fedopt_guide/.
Thanks!
Hi Zheng,
Thanks for the suggestions! Now this PR only contains the changes about the dataset in utils
.
Hi Everyone,
Thank you for your constructive comments about the sampling method! I have tried to incorporate the changes mentioned.
Hi All,
I have made the suggested edits and now the sampling process at each client is sequential and it ensures that each client has 5000 samples with a label distribution according to a multinomial sampled from a Dirichlet distribution. I have also removed the dependence on the batch size for now.
Merged in https://github.com/google-research/federated/commit/cb2518e0da738b8bf8d9c145459aa717a71133aa. Thank you for the contribution!
Similar to the federated version of CIFAR100, we follow the methods in this paper. Currently, we assume that there are total 10 clients, each of which has 5000 images.