Skip to main content

A Python package for Earthformer

Project description

Earthformer

image

A Python package for Earth forecasting transformer

Introduction

This repository turns the amazon-science/earth-forecasting-transformer repository into a Python package, making it easier to install and use. To learn more about Earthformer, please refer to the NeurIPS 2022 paper: Earthformer: Exploring Space-Time Transformers for Earth System Forecasting. Credits to the authors and their repository for the original implementation.

Installation

The earthformer package is available on PyPI. To install it, run:

pip install earthformer

Earthformer has several optional dependencies. It is recommended to create a new conda environment and install the dependencies with conda:

conda create -n earthformer python=3.10
conda activate earthformer
conda install -c conda-forge mamba
mamba install -c conda-forge pytorch torchvision pytorch-lightning==1.7.7
mamba install -c conda-forge nvidia-apex omegaconf
mamba install -c conda-forge xarray netcdf4 opencv
pip install earthnet earthformer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

earthformer-0.0.4.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

earthformer-0.0.4-py2.py3-none-any.whl (1.2 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page