Closed VoyageHSSS closed 1 month ago
looks like you have non-ascii character somewhere in your input.
looks like you have non-ascii character somewhere in your input.
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.
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.
fasta_path.write_text(example_fasta)
first thing to check is example_fasta.encode(encoding="ascii")
. It it fails, then the problem is in input.
Do I need to download more files?
Yes, you need more files, see #29
fasta_path.write_text(example_fasta)
first thing to check is
example_fasta.encode(encoding="ascii")
. It it fails, then the problem is in input.Do I need to download more files?
Yes, you need more files, see #29
Thank you for your guidance; I will try a bit more.
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