|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
Traceback (most recent call last):
File "F:\match_deeplearning\text_matching-master\abcnn\train.py", line 11, in <module>
p, h, y = load_char_data('input/train2.csv', data_size=None)
File "F:\match_deeplearning\text_matching-master\abcnn\..\utils\load_data.py", line 96, in load_char_data
p_c_index, h_c_index = char_index(p, h)
File "F:\match_deeplearning\text_matching-master\abcnn\..\utils\load_data.py", line 44, in char_index
p = [word2idx[word.lower()] for word in p_sentence if len(word.strip()) > 0 and word.lower() in word2idx.keys()]
TypeError: 'float' object is not iterable
>>>
这种报错怎么改,感谢
|
|