-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #319 from openclimatefix/dev-data-sampler #major
Merge dev-data-sampler branch to main #major
- Loading branch information
Showing
71 changed files
with
1,202 additions
and
1,466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,3 +140,4 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include *.txt | ||
recursive-include pvnet/models/model_cards *.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
_target_: pvnet.data.datamodule.DataModule | ||
configuration: null | ||
# The batch_dir is the location batches were saved to using the save_batches.py script | ||
# The batch_dir should contain train and val subdirectories with batches | ||
batch_dir: "PLACEHOLDER" | ||
|
||
# The sample_dir is the location batches were saved to using the save_batches.py script | ||
# The sample_dir should contain train and val subdirectories with batches | ||
|
||
sample_dir: "PLACEHOLDER" | ||
num_workers: 10 | ||
prefetch_factor: 2 | ||
batch_size: 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
"""Data parts""" | ||
from .utils import BatchSplitter | ||
from .site_datamodule import SiteDataModule | ||
from .uk_regional_datamodule import DataModule |
Oops, something went wrong.