error
error
error
error
error
error
error
error
error
error
error
Traceback (most recent call last):
File "train5.py", line 283, in <module>
neural_network(len(vocabulary_list))
File "train5.py", line 192, in neural_network
initializer=tf.contrib.layers.xavier_initializer()) # [128*3,2]
File "/usr/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 1336, in get_variable
constraint=constraint)
File "/usr/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 1098, in get_variable
constraint=constraint)
File "/usr/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 435, in get_variable
constraint=constraint)
File "/usr/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 404, in _true_getter
use_resource=use_resource, constraint=constraint)
File "/usr/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 743, in _get_single_variable
name, "".join(traceback.format_list(tb))))
ValueError: Variable W already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:
File "train5.py", line 192, in neural_network
initializer=tf.contrib.layers.xavier_initializer()) # [128*3,2]
File "train5.py", line 200, in train_neural_network
output = neural_network(len(vocabulary_list)) # [-1,2]
File "train5.py", line 280, in <module>
train_neural_network()