Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tcapelle/eclipse_pytorch

My take on ECLIPSE solar nowcasting DL paper
https://github.com/tcapelle/eclipse_pytorch

Last synced: about 1 month ago
JSON representation

My take on ECLIPSE solar nowcasting DL paper

Awesome Lists containing this project

README

        

# Eclipse
> Implementing Paletta et al in Pytorch

Most of the codebase comes from [Fiery](https://github.com/wayveai/fiery)

![Image](nbs/images/eclipse_diagram.png)

## Install

```bash
pip install eclipse_pytorch
```

## How to use

```python
import torch

from eclipse_pytorch.model import Eclipse
```

```python
eclipse = Eclipse(horizon=5)
```

let's simulte some input images:

```python
images = [torch.rand(2, 3, 128, 128) for _ in range(4)]
```

```python
preds = eclipse(images)
```

you get a dict with forecasted masks and irradiances:

```python
len(preds['masks']), preds['masks'][0].shape, preds['irradiances'].shape
```

(6, torch.Size([2, 4, 128, 128]), torch.Size([2, 6]))

## Citation

```latex
@article{paletta2021eclipse,
title = {{ECLIPSE} : Envisioning Cloud Induced Perturbations in Solar Energy},
author = {Quentin Paletta and Anthony Hu and Guillaume Arbod and Joan Lasenby},
year = {2021},
eprinttype = {arXiv},
eprint = {2104.12419}
}
```

## Contribute

This repo is made with [nbdev](https://github.com/fastai/nbdev), please read the documentation to contribute