yanhaiming56 / SynthText_Chinese_py3

28 stars 9 forks source link

UnicodeDecodeError: 'ascii' codec can't decode byte 0xf7 in position 2: ordinal not in range(128) #3

Closed keke18532 closed 5 years ago

keke18532 commented 5 years ago

text_utils.py", line 436, in init self.char_freq = cp.load(f) UnicodeDecodeError: 'ascii' codec can't decode byte 0xf7 in position 2: ordinal not in range(128)

light201212 commented 4 years ago

did you solve it by using encoding = "iso-8859-1"?