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

为什么使用fedavg-pytorch效果很差 #1

Open
Dewforest opened this issue Apr 19, 2022 · 1 comment
Open

为什么使用fedavg-pytorch效果很差 #1

Dewforest opened this issue Apr 19, 2022 · 1 comment

Comments

@Dewforest
Copy link

Dewforest commented Apr 19, 2022

你好,有些不懂得的地方想要请教一下。
我在使用fedavg-numpy,也就是基于你用numpy手动构建的bp_nn()这个模型的时候,跑出来的预测效果很好,但是为什么在使用基于pytorch ann()模型的fedavg-pytorch的时候跑出来的预测效果很差呢,而且我试着把预测值的走势图画出来,发现显示的是一条直线。。。
希望能帮忙解答一下,十分感谢!

@ki-ljl
Copy link
Owner

ki-ljl commented May 15, 2022

现在已经有了一些改进,你可以再试试。之前代码学习率衰减得很厉害,现在限制了一下学习率的衰减。

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