运行结果及报错内容 不知道咋个解决,帮帮忙
用putty运行 python run.py后几行后出现:
File "anaconda3/envs/bert/lib/python3.7/codecs.py",line 322,in decode
(result,consumed)=self._buffer_decode(data,self.errors,final)
UnicodeDecodeError:'utf-8' codec can not decode byte oxff in position 0:invalid start byte
默认的encoding 是utf-8,所以问题是出现了utf-8不能解码的字节。
该情况是由于出现了无法进行转换的 二进制数据造成的
https://blog.csdn.net/LuoMin2523/article/details/118927386