NELSONZHAO / zhihu

This repo contains the source code in my personal column (https://zhuanlan.zhihu.com/zhaoyeyu), implemented using Python 3.6. Including Natural Language Processing and Computer Vision projects, such as text generation, machine translation, deep convolution GAN and other actual combat code.

Home Page:https://zhuanlan.zhihu.com/zhaoyeyu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: Attempt to reuse RNNCell with a different variable scope than its first use. First use of cell was with scope

123chengbo opened this issue · comments

i use tensorflow on windows:
and i modified anna_lstm.py to anna_lstm-tf1.0.py(as you mentioned)
then run:python anna_lstm-tf1.0.py

ValueError: Attempt to reuse RNNCell<tensorflow.contrib.rnn.python.ops.core_rnn_cell_impl.BasicLSTMCell object at 0x00000291BB7E4DA0> with a different variable scope than its first use. First use of cell was with scope than its first use. First use of cell was with scope ........

could you help me with this problem ?thank you 。