You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to the whole torchdrug pipeline thing. I was checking out the README and saw this part about "Load Trained Model Weight." After loading the weights, how do I go about turning a protein sequence into the input data, feed it into the esm_s model, and then grab the output embeddings? I reviewed the code, and there's this ESM class with a forward function that looks like forward(self, graph, input,..). Can you help me figure out how to put together the graph and input from a protein sequence? Any tips or pointers would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Hello,
I'm new to the whole torchdrug pipeline thing. I was checking out the README and saw this part about "Load Trained Model Weight." After loading the weights, how do I go about turning a protein sequence into the input data, feed it into the esm_s model, and then grab the output embeddings? I reviewed the code, and there's this ESM class with a forward function that looks like
forward(self, graph, input,..)
. Can you help me figure out how to put together thegraph
andinput
from aprotein sequence
? Any tips or pointers would be greatly appreciated.The text was updated successfully, but these errors were encountered: