How to fix UnicodeDecodeError? #91
Replies: 5 comments
-
looks like you have non-ascii character somewhere in your input. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. The input file I am using is the default protein FASTA, retaining only the protein and small molecule, but the test fails. I also tried adding UTF-8 encoding in fasta_path.write_text(example_fasta), but I still encounter the same error. |
Beta Was this translation helpful? Give feedback.
-
Additionally, I have changed the directory where the esm2 files are located and updated the path in esm2.py. However, I have only downloaded the single file esm2_t36_3B_UR50D.pt. Do I need to download more files? I am from China, and the default downloading method does not work for me. |
Beta Was this translation helpful? Give feedback.
-
first thing to check is
Yes, you need more files, see #29 |
Beta Was this translation helpful? Give feedback.
-
Thank you for your guidance; I will try a bit more. |
Beta Was this translation helpful? Give feedback.
-
Could I ask the community for help on how to resolve this issue that occurs when I run python examples/predict_structure.py? Thank you!
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 64: invalid start byte
Beta Was this translation helpful? Give feedback.
All reactions