pygcn icon indicating copy to clipboard operation
pygcn copied to clipboard

Values of some parameters

Open fansariadeh opened this issue 4 years ago • 2 comments

In the module named "MODELS" :

class GCN(nn.Module): def init(self, nfeat, nhid, nclass, dropout):

but the values of these paramters are not specified in the code. I am confused how the code gets these values! nfeat, nhid, nclass

would be great helping me out

fansariadeh avatar Apr 18 '20 11:04 fansariadeh

Please check line 45-48 in "train.py": model = GCN(nfeat=features.shape[1], nhid=args.hidden, nclass=labels.max().item() + 1, dropout=args.dropout)

Jaborie203 avatar Apr 19 '20 23:04 Jaborie203

Please check line 45-48 in "train.py": model = GCN(nfeat=features.shape[1], nhid=args.hidden, nclass=labels.max().item() + 1, dropout=args.dropout)

Dear Jaborie, I appreciate your response. I was wondering do you happen to know in layers module: class GraphConvolution(Module): def init(self, in_features, out_features, bias=True):

Where the values of these parameters are fed into the system? They have not been mentioned anywhere in the code: in_features, out_features

Thank you in advance

fansariadeh avatar Apr 19 '20 23:04 fansariadeh