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

在tensorflow中的dropout中修改建议 #77

Open
xingjianzhang1997 opened this issue Mar 7, 2019 · 1 comment
Open

在tensorflow中的dropout中修改建议 #77

xingjianzhang1997 opened this issue Mar 7, 2019 · 1 comment

Comments

@xingjianzhang1997
Copy link

周大神您好,这份代码我认为还有改进的地方。
这份代码的TensorBoard在IPYthon和Jupyter等IDE中只能运行一次,第二次就会报错:InvalidArgumentError: You must feed a value for placeholder tensor ‘inputs/x_input’ with dtype float
我认为原因是用TensorBoard进行可视化的时候,出当前路径下不能存在一个以上的events文件。
解决方案有两种:(1)手动到该目录下删除event文件。
(2)加上tf.reset_default_graph(),这样就可以多次运行了。

@sun520shine
Copy link

666

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