Skip to content

Commit

Permalink
Merge branch 'data_sampler' of https://github.com/openclimatefix/PVNet
Browse files Browse the repository at this point in the history
…into data_sampler
  • Loading branch information
dfulu committed Nov 13, 2024
2 parents 50c5552 + 1c27bd6 commit ee232f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvnet/data/datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit ee232f7

Please sign in to comment.