We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
loss_train, acc_train = session.run([model.loss, model.acc], feed_dict=feed_dict) 这句代码放在 session.run(model.optim, feed_dict=feed_dict) # 运行优化 这句代码的前面,如果执行了if total_batch % config.print_per_batch == 0:里的代码,那么运行优化步骤的dropout就变成了1.0了不是吗?
loss_train, acc_train = session.run([model.loss, model.acc], feed_dict=feed_dict)
session.run(model.optim, feed_dict=feed_dict) # 运行优化
if total_batch % config.print_per_batch == 0:
The text was updated successfully, but these errors were encountered:
😄 恭喜你发现了代码的一点小 bug,我这边修复一下,这个 bug 会影响到一个 batch 的训练,对整体的结果影响不大。
Sorry, something went wrong.
No branches or pull requests
loss_train, acc_train = session.run([model.loss, model.acc], feed_dict=feed_dict)
这句代码放在
session.run(model.optim, feed_dict=feed_dict) # 运行优化
这句代码的前面,如果执行了
if total_batch % config.print_per_batch == 0:
里的代码,那么运行优化步骤的dropout就变成了1.0了不是吗?The text was updated successfully, but these errors were encountered: