Skip to content

Commit

Permalink
Merge pull request #40 from spaceml-org/dataloaders
Browse files Browse the repository at this point in the history
Dataloaders
  • Loading branch information
annajungbluth authored Apr 22, 2024
2 parents 707bcf2 + 48eab9e commit 085c689
Show file tree
Hide file tree
Showing 16 changed files with 1,457 additions and 32 deletions.
24 changes: 24 additions & 0 deletions config/example/datamodule.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
dataloader:
_target_: rs_tools._src.datamodule.ITIDataModule # TODO: update

datasets_spec:
msg:
data_path: /path/to/your/data
goes:
data_path: /path/to/your/data
load_coords: True
load_cloudmask: True

datasets_split:
train:
years:
months:
days:
val:
years:
months:
days:

batch_size: int=4,
iterations_per_epoch: int=1e4,
num_workers: int=1,
6 changes: 3 additions & 3 deletions notebooks/1.0-pipeline-modis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21528,9 +21528,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python [conda env:rs_tools]",
"display_name": "iti-env",
"language": "python",
"name": "conda-env-rs_tools-py"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -21542,7 +21542,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
"version": "3.11.8"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 085c689

Please sign in to comment.