Skip to content

Commit

Permalink
Fix string
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Dec 11, 2023
1 parent 6056bab commit b1b43c0
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 @@ -254,7 +254,7 @@ def _get_numpy(key):
y = batch[y_key].cpu().numpy()
y_hat = y_hat.cpu().numpy()
gsp_ids = batch[y_id_key].cpu().numpy().squeeze()
t0_idx = batch[t0_idx_key]
t0_idx = int(batch[t0_idx_key])
plotting_name = "GSP" if key_to_plot == "gsp" else "Sensor"

times_utc = batch[time_utc_key].cpu().numpy().squeeze().astype("datetime64[s]")
Expand Down

0 comments on commit b1b43c0

Please sign in to comment.