Guo xintong

Results 2 issues of Guo xintong

line 137: predict = [] line 145: predict += logits[0] 会报错:operands could not be broadcast together with shapes (0,) (n,) (n是label个数) 原因应该是在循环中空数组和预测值logits的第0维相加出现了维度问题。 我改成了 line 137: predict = np.zeros(n) 解决 不知道只是我的bug吗还是?

line 177: print(id2rela[trueValue], P, R, f1) id2rela是个未定义的函数? line188: should be: return p, r, macro_f1, micro_f1, **total_list**