Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PGGD #33

Open
sotirisnik opened this issue Jul 28, 2022 · 1 comment
Open

PGGD #33

sotirisnik opened this issue Jul 28, 2022 · 1 comment

Comments

@sotirisnik
Copy link

Could you clarify how do you calculate the avg_gradient that is given as input in the pggd file? I could not find the script that imports this file.
https://github.com/litian96/FedProx/blob/master/flearn/optimizer/pggd.py#L56
Thank you

@litian96
Copy link
Owner

Thanks for the question. FedProx does not use this optimizer. This is instead used in our FedDANE paper, where the updates correspond to Line 7 in Algorithm 2 in our paper. There is some redundancy when we clean up the code and release it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants