openclimatefix / power_perceiver

Machine learning experiments using the Perceiver IO model to forecast the electricity system (starting with solar)
MIT License
7 stars 1 forks source link

Pass `DataLoader` subclass objects into `NowcastingDataset` constructor #28

Closed JackKelly closed 2 years ago

JackKelly commented 2 years ago

Instead of passing data_source_names into NowcastingDataset constructor, pass instantiated DataLoader subclass objects into NowcastingDataset.

This has several advantages:

But also requires a bit more work: