"src/vscode:/vscode.git/clone" did not exist on "a8ce8d27351a4d6e977f7b0dd486ef66811bbac0"
Unverified Commit e0c7f959 authored by LastWhisper's avatar LastWhisper Committed by GitHub
Browse files

[GraphBolt] Update the param to make the code consistent (#6491)

parent 9e26c8e3
......@@ -211,7 +211,7 @@ if __name__ == "__main__":
dataset = gb.BuiltinDataset("ogbn-products").load()
datamodule = DataModule(
dataset,
[15, 10, 5],
[10, 10, 10],
args.batch_size,
args.num_workers,
)
......
......@@ -330,20 +330,20 @@ def parse_args():
help="Learning rate for optimization.",
)
parser.add_argument(
"--batch-size", type=int, default=256, help="Batch size for training."
"--batch-size", type=int, default=1024, help="Batch size for training."
)
parser.add_argument(
"--num-workers",
type=int,
default=4,
default=0,
help="Number of workers for data loading.",
)
parser.add_argument(
"--fanout",
type=str,
default="15,10,5",
default="10,10,10",
help="Fan-out of neighbor sampling. It is IMPORTANT to keep len(fanout)"
" identical with the number of layers in your model. Default: 15,10,5",
" identical with the number of layers in your model. Default: 10,10,10",
)
parser.add_argument(
"--device",
......@@ -377,7 +377,7 @@ def main(args):
num_classes = dataset.tasks[0].metadata["num_classes"]
in_size = features.size("node", None, "feat")[0]
hidden_size = 128
hidden_size = 256
out_size = num_classes
model = SAGE(in_size, hidden_size, out_size)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment