Open Tizzzzy opened 2 months ago
I think your mistake is that you are using atom2graph
as input feature, when the packed protein object has the attribute residue_feature
or node_feature
Depending if you are working with residue or atom view.
Doing something like the code below worked for me
protein_model = graph_construction_model(packed_protein)
representation = gearnet_edge(graph=protein_model, input=protein_model.residue_feature.float())
Hi author, Right now I download the pretrain weight from Multiview Contrast. I want to load this weight, and then pass a pdb file to the model. In this case, I can get the latent representation of the protein pdb file from the model.
Now I think I can successfully load the released pretrained weight, however, I am stuck at passing the pdb file to the model. Here is how I pass it:
I think GearNet model takes two parameter: 1. a Graph object, 2. input (not sure what this is). However, it seems like either
_protein
is wrong orinput_feature
is wrong. With this code, I am getting this error:Can you please help me on how to pass the pdb file to the model. Thank you