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

ch3.5 p71 line 41 Attempting to use uninitialized value test_recon_layer1/b #12

Open
arisliang opened this issue Mar 5, 2018 · 0 comments

Comments

@arisliang
Copy link

arisliang commented Mar 5, 2018

我尝试显示图3.10,但有错误。
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value test_recon_layer1/b

在line 41使用了新的图模型test_recon_layer1,似乎没有使用已保存的模型,在新的session下面运行就给出了错误。

我运行的代码在https://gist.github.com/arisliang/59a49faf5fe5772ff4ab71b916035b34, 有稍微refactoring改动,但基本应该是一样的。如果书中的代码有放在github或者哪里,重跑和书中完全一样的代码会更精确。

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

1 participant