Skip to content

Commit 3708788

Browse files
committed
fixed batch size bug
1 parent 0f32ed3 commit 3708788

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fedgraph/trainer_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def train(self, current_global_round: int) -> None:
548548
loader = NeighborLoader(
549549
data,
550550
num_neighbors=[-1] * self.args.num_layers,
551-
batch_size=2048,
551+
batch_size=self.args.batch_size,
552552
input_nodes=self.idx_train,
553553
shuffle=False,
554554
num_workers=0,

0 commit comments

Comments
 (0)