Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nowcasting_dataset/dataset/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def validate_example(
assert data[PV_SYSTEM_Y_COORDS].shape[-1] == n_pv_systems_per_example

if not batch:
# add an extract dimension so that its similar to batch data
# add an extra dimension so that it's similar to batch data
data[PV_SYSTEM_ID] = np.expand_dims(data[PV_SYSTEM_ID], axis=0)
data[PV_SYSTEM_ROW_NUMBER] = np.expand_dims(data[PV_SYSTEM_ID], axis=0)

Expand Down