Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values of some parameters #59

Open
fansariadeh opened this issue Apr 18, 2020 · 2 comments
Open

Values of some parameters #59

fansariadeh opened this issue Apr 18, 2020 · 2 comments

Comments

@fansariadeh
Copy link

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

@Jaborie203
Copy link

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)

@fansariadeh
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants