brightmart / text_classification

all kinds of text classification models and more with deep learning
MIT License
7.83k stars 2.57k forks source link

TextCNN_train.py 中变量未定义 #120

Open GUOXINTONG opened 5 years ago

GUOXINTONG commented 5 years ago

line 177: print(id2rela[trueValue], P, R, f1) id2rela是个未定义的函数?

line188: should be: return p, r, macro_f1, micro_f1, total_list