Skip to content

Commit 8831ee6

Browse files
fix batch bug
1 parent 1cae3e9 commit 8831ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models_builder/gnn_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ def train_1_step(self, gen_dataset):
808808
loss = 0
809809
for batch in loader:
810810
self.before_batch(batch)
811-
loss += self.train_on_batch(batch, task_type)
811+
loss += self.train_on_batch_full(batch, task_type)
812812
self.after_batch(batch)
813813
print("loss %.8f" % loss)
814814
self.modification.epochs += 1

0 commit comments

Comments
 (0)