Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

" File "/pfs_beijing/wangdi/ESMPair/msa_pair/data/esm_scoring.py", line 99, in score B, C, R, R = col_attention.size() ValueError: too many values to unpack (expected 4)" #4

Open
sawbtte opened this issue Aug 8, 2023 · 2 comments

Comments

@sawbtte
Copy link

sawbtte commented Aug 8, 2023

Hello, I recently read your article about this project. When I reproduced your code, there was a bug with different sizes. I am not sure what the cause is and whether it should be corrected. Have you encountered any related problems? Any recommended solutions? Thank you so much for your help。

image

@sawbtte
Copy link
Author

sawbtte commented Aug 8, 2023

and i use the example data in the dataset folder

@allanchen95
Copy link
Owner

Hi, as ESM had updated their model implementations, our codes are out-of-date. We just updated the new implementation of ESMPair, "You need to replace the esm/model/msa_transformer.py in the directory of {your python path}/site-packages/ with the provided msa_transformer.py. In the new msa_transformer.py".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants