You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
如题,运行出错,查询的资料没有找到解决办法
Traceback (most recent call last):
File "BERT_NER.py", line 621, in
tf.app.run()
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "BERT_NER.py", line 518, in main
train_examples = processor.get_train_examples(FLAGS.data_dir)
File "BERT_NER.py", line 176, in get_train_examples
self._read_data(os.path.join(data_dir, "train.txt")), "train"
File "BERT_NER.py", line 153, in _read_data
for line in f:
UnicodeDecodeError: 'gbk' codec can't decode byte 0x93 in position 2: illegal multibyte sequence
The text was updated successfully, but these errors were encountered:
如题,运行出错,查询的资料没有找到解决办法
Traceback (most recent call last):
File "BERT_NER.py", line 621, in
tf.app.run()
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "BERT_NER.py", line 518, in main
train_examples = processor.get_train_examples(FLAGS.data_dir)
File "BERT_NER.py", line 176, in get_train_examples
self._read_data(os.path.join(data_dir, "train.txt")), "train"
File "BERT_NER.py", line 153, in _read_data
for line in f:
UnicodeDecodeError: 'gbk' codec can't decode byte 0x93 in position 2: illegal multibyte sequence
The text was updated successfully, but these errors were encountered: