Skip to content

Commit

Permalink
Change default split key for testing WindNet
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Dec 5, 2023
1 parent f44d89c commit f36b550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvnet/data/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def batch_to_tensor(batch):
return batch


def split_batches(batch, splitting_key=BatchKey.gsp):
def split_batches(batch, splitting_key=BatchKey.sensor):
"""Splits a single batch of data."""

n_samples = batch[splitting_key].shape[0]
Expand Down

0 comments on commit f36b550

Please sign in to comment.