gaussic / text-classification-cnn-rnn

CNN-RNN中文文本分类,基于TensorFlow
MIT License
4.16k stars 1.47k forks source link

报错Variable embedding already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? #144

Closed RFHzhj closed 4 years ago

RFHzhj commented 4 years ago

你好,出现Variable embedding already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope?这个报错应该怎么修改代码结构?谢谢

gaussic commented 4 years ago

embedding只能创建一次,你是不是在用 notebook 或 spyder 之类的软件,保存了之前的结果