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 Dec 22, 2023
1 parent d069774 commit 298e10c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pvnet/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,7 @@ def _calculate_val_losses(self, y, y_hat):
y_hat = self._quantiles_to_prediction(y_hat)

common_metrics_each_step = common_metrics(
predictions=y_hat.cpu().numpy(),
target=y.cpu().numpy()
predictions=y_hat.cpu().numpy(), target=y.cpu().numpy()
)
mse_each_step = common_metrics_each_step["rmse"] ** 2
mae_each_step = common_metrics_each_step["mae"]
Expand Down

0 comments on commit 298e10c

Please sign in to comment.