Skip to content
Snippets Groups Projects
Commit f76c4b0f authored by Léo Schneider's avatar Léo Schneider Committed by Schneider Leo
Browse files

main custom on ISA data

parent 9b39bb31
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,6 @@ class Model_Common_Transformer(nn.Module):
d_model=self.embedding_dim)
def forward(self, seq, charge):
print(seq.shape)
meta_ohe = torch.nn.functional.one_hot(charge - 1, self.charge_max).float()
seq_emb = torch.nn.functional.one_hot(seq, self.nb_aa).float()
emb = self.pos_embedding(self.emb(seq_emb))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment