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

dropout in validation/evaluation #8

Open
Atomu2014 opened this issue Feb 1, 2018 · 5 comments
Open

dropout in validation/evaluation #8

Atomu2014 opened this issue Feb 1, 2018 · 5 comments

Comments

@Atomu2014
Copy link

Atomu2014 commented Feb 1, 2018

非常感谢分享这份代码,
能否解释一下第134和143行中, dropout_keep这个参数在init_graph的时候直接传入tf.nn.dropout

@Atomu2014
Copy link
Author

请问在validation的时候是否也用了drop out,这是合理情况吗?在test的时候是否会使用dropout?

@hexiangnan
Copy link
Owner

hexiangnan commented Feb 15, 2018 via email

@Atomu2014
Copy link
Author

貌似training和validation共用一套计算图,而且dropout在计算图中是写死的,没有发现training flag之类的分支

@hexiangnan
Copy link
Owner

hexiangnan commented Feb 26, 2018 via email

@Atomu2014
Copy link
Author

感谢告知!

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