shiyybua / NER

基于tensorflow深度学习的中文的命名实体识别
1.04k stars 400 forks source link

训练的时候出现这个错误 #76

Open Wud1 opened 3 years ago

Wud1 commented 3 years ago

building word index... target vocabulary file has already existed, continue to next stage. loading word embedding, it will take few minutes... Traceback (most recent call last): File "C:/Users/Chenxinliang/Desktop/NER-master/rnn.py", line 153, in embedding = load_word2vec_embedding(vocab_size) File "C:\Users\Chenxinliang\Desktop\NER-master\utils.py", line 256, in load_word2vec_embedding for index, line in enumerate(f): UnicodeDecodeError: 'gbk' codec can't decode byte 0xb4 in position 7570: illegal multibyte sequence