chinese-book
chinese-book copied to clipboard
ch3.5 p71 line 41 Attempting to use uninitialized value test_recon_layer1/b
我尝试显示图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或者哪里,重跑和书中完全一样的代码会更精确。