jquesnelle / txt2imghd

A port of GOBIG for Stable Diffusion
MIT License
691 stars 82 forks source link

charmap error #7

Closed theodor38 closed 2 years ago

theodor38 commented 2 years ago

I have figure it out!

hi there, I was very excited to try this repo but unfortunately I got an error message at my first try and I couldn't figure it out on my own. Any help is appreciated. thank you in advance.

here is the error: File "scripts/txt2imghd.py", line 510, in main() File "scripts/txt2imghd.py", line 329, in main text2img2(opt) File "scripts/txt2imghd.py", line 377, in text2img2 data = f.read().splitlines() File "C:\Users\nvda\anaconda3\envs\ldm\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 205: character maps to