Skip to content

Commit

Permalink
fix: making predict split use the correct collate func
Browse files Browse the repository at this point in the history
Signed-off-by: Kin Long Kelvin Lee <[email protected]>
  • Loading branch information
laserkelvin committed Sep 27, 2024
1 parent 402c6dd commit 855a06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matsciml/lightning/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def predict_dataloader(self):
target,
batch_size=self.hparams.batch_size,
num_workers=self.hparams.num_workers,
collate_fn=self.dataset.collate_fn,
collate_fn=target.collate_fn,
persistent_workers=self.persistent_workers,
)

Expand Down

0 comments on commit 855a06d

Please sign in to comment.