Skip to main content

A PyTorch library for spatiotemporal data processing

Project description

tsl (Torch Spatiotemporal) is a library built to accelerate research on neural spatiotemporal data processing methods, with a focus on Graph Neural Networks.

tsl is built on several libraries of the Python scientific computing ecosystem, with the final objective of providing a straightforward process that goes from data preprocessing to model prototyping. In particular, tsl offers a wide range of utilities to develop neural networks in PyTorch for processing spatiotemporal data signals.

Installation

tsl is compatible with Python>=3.7. We recommend installation from source to be up-to-date with the latest version:

git clone https://github.com/TorchSpatiotemporal/tsl.git
cd tsl
python setup.py install  # Or 'pip install .'

To solve all dependencies, we recommend using Anaconda and the provided environment configuration by running the command:

conda env create -f tsl_env.yml

Alternatively, you can install the library from pip:

pip install torch-spatiotemporal

Please refer to PyG installation guidelines for installation of PyG ecosystem without conda.

Tutorial

The best way to start using tsl is by following the tutorial notebook in examples/notebooks/a_gentle_introduction_to_tsl.ipynb.

Documentation

The documentation is hosted on readthedocs. For local access, you can build it from the docs directory.

Citing

If you use Torch Spatiotemporal for your research, please consider citing the library

@software{Cini_Torch_Spatiotemporal_2022,
    author = {Cini, Andrea and Marisca, Ivan},
    license = {MIT},
    month = {3},
    title = {{Torch Spatiotemporal}},
    url = {https://github.com/TorchSpatiotemporal/tsl},
    year = {2022}
}

By Andrea Cini and Ivan Marisca.

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

torch_spatiotemporal-0.9.0.tar.gz (149.1 kB view details)

Uploaded Source

File details

Details for the file torch_spatiotemporal-0.9.0.tar.gz.

File metadata

  • Download URL: torch_spatiotemporal-0.9.0.tar.gz
  • Upload date:
  • Size: 149.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for torch_spatiotemporal-0.9.0.tar.gz
Algorithm Hash digest
SHA256 526787f6580be35139a0b23f9dbf5d00cf907ca95d90649026e4e6241d823b7e
MD5 d590c1773e8b181d999f22c62ee6df71
BLAKE2b-256 82d14be88b04b8e4b35c1517578a7d8e7da07acafbaa614c75a1e21537811ddb

See more details on using hashes here.

Supported by

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