Open sotirisnik opened 2 years ago
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
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.
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