cnn-text-classification icon indicating copy to clipboard operation
cnn-text-classification copied to clipboard

不支持中文呀 我中文运行报错

Open watchpoints opened this issue 8 years ago • 0 comments

Loading data...

Traceback (most recent call last): File "train.py", line 41, in x_train,y_train,x_dev,y_dev=data_helpers.load_train_dev_data() File "/home/amax/wcy/text/cnn-text-classification-master/data_helpers.py", line 167, in load_train_dev_data for j in range(max_sentence_length - i - 1): UnboundLocalError: local variable 'i' referenced before assignment

watchpoints avatar Dec 27 '16 12:12 watchpoints