WenchenLi / VDCNN

tensorflow implementation of Very Deep Convolutional Networks for Text Classification
6 stars 1 forks source link

I can not understand the error,can you help me? thank you very much. #2

Open Zongpeiqing opened 6 years ago

Zongpeiqing commented 6 years ago

ValueError: Variable weights_conv0 already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:

File "/media/administrator/e/yuanmeng/VDCNN-master/model.py", line 248, in _get_variable trainable=trainable) File "/media/administrator/e/yuanmeng/VDCNN-master/model.py", line 264, in _conv weight_decay=config.CONV_WEIGHT_DECAY) File "/media/administrator/e/yuanmeng/VDCNN-master/model.py", line 126, in build_model stride=self.stride, filters_out=self.num_filters[0], name='conv0')

Zongpeiqing commented 6 years ago

This problem appeared when I was running "python predict.py".