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

Added AP-GCN #104

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed issues with unit tests.
Variable name conflicts.
  • Loading branch information
ShuningZhao committed Dec 23, 2020
commit ee9fa15bc9b1227be324492d75d6f989863d4470
2 changes: 1 addition & 1 deletion cogdl/models/nn/ap_gcn.py
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@ def __init__(self, in_feats, hidden_dim, out_feats, dropout, niter, prop_penalty
self.weight_decay = weight_decay
self.layers = ModuleList(layers)
self.reg_params = list(layers[0].parameters())
self.non_reg_params = list([p for l in layers[1:] for p in l.parameters()])
self.non_reg_params = list([p for layer in layers[1:] for p in layer.parameters()])

self.dropout = Dropout(p=dropout)
self.act_fn = ReLU()