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

fc.py中测试时为什么损失函数值不减反增,而且准确率很低。 #31

Open
LJNL opened this issue Oct 4, 2018 · 1 comment

Comments

@LJNL
Copy link

LJNL commented Oct 4, 2018

fc.py 的 test()运行时发现log
after epoch 1 loss: 0.016419
after epoch 2 loss: 0.053763
after epoch 3 loss: 0.108310
after epoch 4 loss: 0.171011
after epoch 5 loss: 0.225434
after epoch 6 loss: 0.261430
after epoch 7 loss: 0.281527
after epoch 8 loss: 0.291327
after epoch 9 loss: 0.295843
after epoch 10 loss: 0.297988
correct_ratio: 5.47%

@janlely
Copy link

janlely commented Mar 8, 2020

fc.py 的 test()运行时发现log
after epoch 1 loss: 0.016419
after epoch 2 loss: 0.053763
after epoch 3 loss: 0.108310
after epoch 4 loss: 0.171011
after epoch 5 loss: 0.225434
after epoch 6 loss: 0.261430
after epoch 7 loss: 0.281527
after epoch 8 loss: 0.291327
after epoch 9 loss: 0.295843
after epoch 10 loss: 0.297988
correct_ratio: 5.47%

我也是,在mnist数据集上根本跑不出好结果,不知道是不是代码的问题,梯度检查是正常的

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