-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
save validation batch results to wandb #252
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
pvnet/models/base_model.py
Outdated
results_df = pd.DataFrame( | ||
{ | ||
"y": y_i, | ||
"y_hat": y_hat_i, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you done a training run with this? When predicting quantiles, I think y_i
and y_hat_i
will be different shapes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I havent done training, but the end2end test does go through here.
becasue i take y = batch[self._target_key][:, -self.forecast_len :, 0]
, it makes it the same length as y_hat.
Perhaps theres a better way to standardised that. something for the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeh but I think in this case, y_i
is a vector with shape (horizon_step,)
. But y_hat_i
can either be a vector with shape (horizon_step,)
or (horizon_step, quantile,)
depending on whether we are training to predict quantiles or only a central value. The end2end test only tests non-quantile training.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh good point. ill have a think about the qunalite things. Good catch on that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should have it now
I think there are a couple of things to sort out, but otherwise looks alright :) |
for more information, see https://pre-commit.ci
# Conflicts: # pvnet/models/base_model.py
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #252 +/- ##
==========================================
+ Coverage 59.00% 59.62% +0.61%
==========================================
Files 29 29
Lines 1893 1927 +34
==========================================
+ Hits 1117 1149 +32
- Misses 776 778 +2 ☔ View full report in Codecov by Sentry. |
for more information, see https://pre-commit.ci
# Conflicts: # pvnet/models/base_model.py
for more information, see https://pre-commit.ci
Pull Request
Description
Save csv of validation results to weights and biases
This is done by
How Has This Been Tested?
CI tests
Checklist: