This repository was archived by the owner on Nov 20, 2026. It is now read-only.
Repository navigation
Prediction protein structure using ESMFOLD2 - 'ESM2' object has no attribute 'infer' #587
Unanswered
heliogabale
asked this question in
Q&A
Replies: 2 comments
|
same question |
0 replies
|
You should use the ESMFold model, ESM2 does't predict structure |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello
I am trying to use the pretrained esm2_t36_3B_UR50D() and esm2_t48_15B_UR50D() to predict protein structure.
I am taking my inspiration from the code for esmfold_v1()
model, alphabet = esm.pretrained.esm2_t36_3B_UR50D()
with torch.no_grad():
output = model.infer(sequence)
I am getting
AttributeError: 'ESM2' object has no attribute 'infer'
Thanks
All reactions