Pytorch Datapipes built for use in Open Climate Fix's nowcasting/forecasting work
Project description
ocf_datapipes
OCF's DataPipe based dataloader for training and inference
Usage
Adding a new DataPipe
A general outline for a new DataPipe should go something like this:
from torchdata.datapipes.iter import IterDataPipe
from torchdata.datapipes import functional_datapipe
@functional_datapipe("<pipelet_name>")
class <PipeletName>IterDataPipe(IterDataPipe):
def __init__(self):
pass
def __iter__(self):
pass
Experimental DataPipes
For new datapipes being developed for new models or input modalities, to somewhat separate the more experimental and in
development datapipes from the ones better tested for production purposes, there is an ocf_datapipes.experimental
namespace for
developing these more research-y datapipes. These datapipes might not, and probably are not, tested.
Once the model(s) using them are in production, they should be upgraded to one of the other namespaces and have tests added.
Citation
If you find this code useful, please cite the following:
@misc{ocf_datapipes,
author = {Bieker, Jacob, and Dudfield, Peter, and Kelly, Jack},
title = {OCF Datapipes},
year = {2022},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/openclimatefix/ocf_datapipes}},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ocf_datapipes-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76960c723b017bd755077b163d6722d05e4c57302f5648bbc5248746aeedbce5 |
|
MD5 | 79df804efc8910c5ddfd1222a3c0be2f |
|
BLAKE2b-256 | bbe04d989ffe180f5eb8cefe196c9d334f07b4ecf73deb86b937a2dbcc5cf647 |