THUNLP-AIPoet / WMPoetry

Source codes of Chinese Poetry Generation with a Working Memory Model (IJCAI 2018)
41 stars 15 forks source link

运行代码出现了编码报错 #5

Open haomingdouranggouqil opened 2 years ago

haomingdouranggouqil commented 2 years ago

我在运行python preprocess.py命令时出现了编码方面的报错:UnicodeDecodeError: 'gbk' codec can't decode byte 0xab in position 26: illegal multibyte sequence,更改代码为encoding = ‘utf-8’也不能解决,请问有什么解决方法吗?

2119319622 commented 7 months ago

我在运行python preprocess.py命令时出现了编码方面的报错:UnicodeDecodeError: 'gbk' codec can't decode byte 0xab in position 26: illegal multibyte sequence,更改代码为encoding = ‘utf-8’也不能解决,请问有什么解决方法吗?

你好,这个问题你解决了吗,可以给出解决方法吗