Open angeload opened 6 months ago
Excuse me, how did you solve the problem?
Two possible solutions:
1) Use pickle.dump instead of np.save 2) Use np.vstack to rearranje the proteins_embedding_train array beofre useing np.save
Even solve the np.sabe pronblem there are still other problems. The script train.py rises error when using those files and I do nto know how to solve it. I hope the authors can give some solution.
感谢您在 GitHub 上提供代码。 我很抱歉用英语写,但我更喜欢这种语言,因为我不确定谷歌翻译是否能正确表达文本。
I have succeed to execute part of your code. Unfortunately, in line 300 of "Protein_embedding_process" method in the script "protein_process.py", there is an error caused by np_save method. Since each protein has a different ESM lenght, it seems that the np_save can not deal with them and rises the following error:
Could you please indicate a solution for this problem or explain how you solve it in your execution?
Best regards.