Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 12, 2024
1 parent 89e4e75 commit 8276a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvnet/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def _log_validation_results(self, batch, y_hat, accum_batch_num):
y_i = y[i]
if self.use_quantile_regression:
idx = self.output_quantiles.index(0.5)
y_hat_i = y_hat[i,idx]
y_hat_i = y_hat[i, idx]
else:
y_hat_i = y_hat[i]
time_utc_i = time_utc[i]
Expand Down

0 comments on commit 8276a07

Please sign in to comment.