Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Dec 11, 2023
1 parent 4bbf653 commit 88ff9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvnet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def _get_numpy(key):
time_utc_key = BatchKey.gsp_time_utc if key_to_plot == "gsp" else BatchKey.sensor_time_utc
y = batch[y_key][:, 0, :].cpu().numpy() # Select the one it is trained on
y_hat = y_hat.cpu().numpy()
gsp_ids = batch[y_id_key].cpu().numpy().squeeze()
gsp_ids = batch[y_id_key][:,0].cpu().numpy().squeeze()
t0_idx = int(batch[t0_idx_key])
plotting_name = "GSP" if key_to_plot == "gsp" else "Sensor"

Expand Down

0 comments on commit 88ff9df

Please sign in to comment.