From 1c27bd6f73b6c9a5d64e1edb754581dcc08d6bf3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 10:23:19 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pvnet/data/datamodule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvnet/data/datamodule.py b/pvnet/data/datamodule.py index 8155b41c..abddbe8f 100644 --- a/pvnet/data/datamodule.py +++ b/pvnet/data/datamodule.py @@ -24,7 +24,7 @@ def __len__(self): def __getitem__(self, idx): return torch.load(self.sample_paths[idx]) - + def collate_fn(samples: list[NumpyBatch]): """Convert a list of NumpyBatch samples to a tensor batch"""