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
More on client_main.py and train.py #12
Comments
|
|
|
|
|
As I think, the client will train the model just using the former received Model_Params for a round, then send it to the server. However, when the "error" response occurred in the initial round(which is designed for parameters encryption), then there will be some mistakes in the parameter loading process. |
抱歉没太懂。。可以说得更详细些吗 |
关于Train_Scheduler: 应该是改成:
|
应改成:
因为后面sent的是weighted parameters,所以在server就是simple summation之后就发回来,所以之后的dec_model_state就直接用就行了 |
还有一个问题是,一个client训练完了 然后server就自动停了。。。其它的client就没法继续run了。。。 |
why we need no bias decay in the model update
https://github.com/HUST-EIC-AI-LAB/COVID-19-Fedrated-Learning-Framework/blob/d8ca89a7f328bf4ec5353785385f21298f232aea/client/client1_main.py#L56-L60
what if the model is not received from the server successfully
https://github.com/HUST-EIC-AI-LAB/COVID-19-Fedrated-Learning-Framework/blob/d8ca89a7f328bf4ec5353785385f21298f232aea/client/client1_main.py#L84-L85
https://github.com/HUST-EIC-AI-LAB/COVID-19-Fedrated-Learning-Framework/blob/d8ca89a7f328bf4ec5353785385f21298f232aea/client/client1_main.py#L90
Why we need this?
https://github.com/HUST-EIC-AI-LAB/COVID-19-Fedrated-Learning-Framework/blob/d8ca89a7f328bf4ec5353785385f21298f232aea/client/client1_main.py#L144-L150
Why we need this? since there are warmup scheduler already...
https://github.com/HUST-EIC-AI-LAB/COVID-19-Fedrated-Learning-Framework/blob/d8ca89a7f328bf4ec5353785385f21298f232aea/client/train.py#L34-L37
Will the scheduler work? (Checking on myself...) -> Checked, it is the same (memory location)
https://github.com/HUST-EIC-AI-LAB/COVID-19-Fedrated-Learning-Framework/blob/d8ca89a7f328bf4ec5353785385f21298f232aea/client/train.py#L87
https://github.com/HUST-EIC-AI-LAB/COVID-19-Fedrated-Learning-Framework/blob/d8ca89a7f328bf4ec5353785385f21298f232aea/client/client1_main.py#L156-L159
Why break?
https://github.com/HUST-EIC-AI-LAB/COVID-19-Fedrated-Learning-Framework/blob/d8ca89a7f328bf4ec5353785385f21298f232aea/client/train.py#L76
The text was updated successfully, but these errors were encountered: