Skip to content

Commit

Permalink
add num_hidden param.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin committed Aug 21, 2024
1 parent 77c2bb9 commit 9b7d71d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/graphbolt/pyg/hetero/node_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ def parse_args():
default=0.001,
help="Learning rate for optimization.",
)
parser.add_argument("--num-hidden", type=int, default=1024)
parser.add_argument(
"--batch-size", type=int, default=1024, help="Batch size for training."
)
Expand Down Expand Up @@ -524,7 +525,7 @@ def main():
)

feat_size = features.size("node", "paper", "feat")[0]
hidden_channels = 256
hidden_channels = args.num_hidden

# Initialize the entity classification model.
model = EntityClassify(
Expand Down

0 comments on commit 9b7d71d

Please sign in to comment.