-
-
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
Add sample saving for Site Dataset #290
base: dev-data-sampler
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
…x/PVNet into site-data-sampling
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
) | ||
batch = next(iter(dm.train_dataloader())) | ||
return batch | ||
# TODO update this test once we add the loading logic for the Site dataset |
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 cant work out if we should merge before doing this, im not sure there. Relates to openclimatefix/ocf-data-sampler#99
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.
Code looks all good. I wonder if we should od openclimatefix/ocf-data-sampler#99 first, then add some test cases in here, just to be double sure
Pull Request
Description
Inclues:
ocf-data-sampler
Site
torch datasetocf-data-sampler
ocf-data-sampler
How Has This Been Tested?
This is a sister PR to https://github.com/openclimatefix/ocf-data-sampler/pull/82/files, ran the save_samples script with the changes in that PR and validated the samples being produced looked correct.