-
Notifications
You must be signed in to change notification settings - Fork 112
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
1_1_2-全连接神经网络做mnist手写数字识别.md #1
Comments
不好意思我没看完 你的softmax在crossentropyloss里面了我没仔细看 |
我在你代码的基础上,加了一层全连接之后,为什么会出现测试训练准确率一直10% 左右的情况呢,loss 也不下降,是因为你的代码没有加正则化的原因吗?谢谢 去掉一层,却可以收敛,97%在群里。为什么呢? |
@yangzhaonan18 推测是梯度消失了,将weights_scale=1e-3改为1e-2就可以了.以下是我增加一个fc层后的测试的结果
|
我下载了代码按照步骤跑,发现有报错 尝试改了还是这个问题,请问还有这个代码方便发一份吗 |
@yangzhaonan18 所有代码均已上传,请参照readme先编译
|
cross entropy的话最后一层后面还要加softmax吧
The text was updated successfully, but these errors were encountered: