Spaces:
Sleeping
Sleeping
Update deepscreen/models/predictors/graph_dta.py
Browse files
deepscreen/models/predictors/graph_dta.py
CHANGED
@@ -22,7 +22,7 @@ class GraphDTA(LightningModule):
|
|
22 |
|
23 |
# protein sequence encoder (1d conv)
|
24 |
self.embedding_xt = nn.Embedding(num_features_protein, embed_dim)
|
25 |
-
self.conv_xt = nn.
|
26 |
self.fc1_xt = nn.Linear(32 * 121, output_dim)
|
27 |
|
28 |
# combined layers
|
|
|
22 |
|
23 |
# protein sequence encoder (1d conv)
|
24 |
self.embedding_xt = nn.Embedding(num_features_protein, embed_dim)
|
25 |
+
self.conv_xt = nn.LazyConv1d(in_channels=1000, out_channels=n_filters, kernel_size=8)
|
26 |
self.fc1_xt = nn.Linear(32 * 121, output_dim)
|
27 |
|
28 |
# combined layers
|