Spaces:
Running
on
Zero
Running
on
Zero
File size: 587 Bytes
7968cb0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from src.models.structgnn_model import StructGNN_Model
from src.modules.graphtrans_module import Struct2Seq
class GraphTrans_Model(StructGNN_Model):
def __init__(self, args):
StructGNN_Model.__init__(self, args)
self.model = Struct2Seq(
num_letters=args.vocab_size,
node_features=args.hidden,
edge_features=args.hidden,
hidden_dim=args.hidden,
k_neighbors=args.k_neighbors,
protein_features=args.features,
dropout=args.dropout,
use_mpnn=False) |