hanzhanggit / StackGAN-v2

MIT License
846 stars 190 forks source link

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

Open shivanikush opened 5 years ago

shivanikush commented 5 years ago

I am getting the above error please help!

Anubhav2000 commented 5 years ago

Are you running this project on python3?

Ariesirius commented 4 years ago

@shivanikush I also met this problem. Have you solved it? Thank you very much!

shivanikush commented 4 years ago

@Anubhav2000 no i was running it on python 2.7 @Ariesirius no i am not able to solve it, working on it!

jakub-tomczak commented 4 years ago

@shivanikush @Ariesirius try to use fixes from this pull request https://github.com/hanzhanggit/StackGAN-v2/pull/25/files#diff-21b1187eae0dce5aa8a3d0997b08d976L264 . I'm using python3.7 and the fix implemented there worked for me.

furukawayuan-Yao commented 4 years ago

I think that you can try to add 'encoding='UTF-8' to some sentence , for example:

I solve the same problem by this way.