Skip to main content

The seismological machine learning benchmark collection

Project description


PyPI - License GitHub Workflow Status Read the Docs PyPI Python 3.7 DOI

The Seismology Benchmark collection (SeisBench) is an open-source python toolbox for machine learning in seismology. It provides a unified API for accessing seismic datasets and both training and applying machine learning algorithms to seismic data. SeisBench has been built to reduce the overhead when applying or developing machine learning techniques for seismological tasks.

Getting started

SeisBench offers three core modules, data, models, and generate. data provides access to benchmark datasets and offers functionality for loading datasets. models offers a collection of machine learning models for seismology. You can easily create models, load pretrained models or train models on any dataset. generate contains tools for building data generation pipelines. They bridge the gap between data and models.

The easiest way of getting started is through our colab notebooks.

Examples
Dataset basics Open In Colab
Model API Open In Colab
Generator Pipelines Open In Colab
Applied picking Open In Colab
Using DeepDenoiser Open In Colab
Training PhaseNet (advanced) Open In Colab

Alternatively, you can clone the repository and run the same examples locally.

For more detailed information on Seisbench check out the SeisBench documentation.

Installation

SeisBench can be installed in two ways. In both cases, you might consider installing SeisBench in a virtual environment, for example using conda.

The recommended way is installation through pip. Simply run:

pip install seisbench

Alternatively, you can install the latest version from source. For this approach, clone the repository, switch to the repository root and run:

pip install .

which will install SeisBench in your current python environment.

Contributing

There are many ways to contribute to SeisBench and we are always looking forward to your contributions. Check out the contribution guidelines for details on how to contribute.

Known issues

  • Some institutions and internet providers are blocking access to our data and model repository, as it is running on a non-standard port (2443). This usually manifests in timeouts when trying to download data or model weights. To verify the issue, try accessing https://dcache-demo.desy.de:2443/ directly from the same machine. We are working on a permanent solution for the issue. In the meantime, if you are having trouble, try downloading through another network/VPN if possible. You can also contact your network administrator to allow access to port 2443 on our server. Otherwise, reach out to us, and we will work on finding a solution.

  • Pytorch currently does not support python 3.10, making it impossible to install seisbench in python 3.10. We recommend using python 3.7, 3.8 or 3.9, until pytorch is available for python 3.10.

References

Reference publications for SeisBench:




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

seisbench-0.1.11.tar.gz (102.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seisbench-0.1.11-py3-none-any.whl (117.9 kB view details)

Uploaded Python 3

File details

Details for the file seisbench-0.1.11.tar.gz.

File metadata

  • Download URL: seisbench-0.1.11.tar.gz
  • Upload date:
  • Size: 102.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for seisbench-0.1.11.tar.gz
Algorithm Hash digest
SHA256 33c00bb7d2c9b061b4f398cb0d3be3f1828d0f1ce10e62d686f425ab9474ee4c
MD5 4b939c88a368f43df13f525154cafb7a
BLAKE2b-256 3f5d32c26242994a9558a3a8bb2cc448e9e24f3f24c9058e34e3c8ae6cae3b25

See more details on using hashes here.

File details

Details for the file seisbench-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: seisbench-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 117.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for seisbench-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 12534912590b7bfee2538c0d24688c54cb249fa7db1852f00ac90bfbd1c4735a
MD5 0eb522080e2ca5b323ed8f7615c245ef
BLAKE2b-256 75ebf87a659b136d94686e1d3fca4f386c852f4e1b39e9fe78be8379999bca4a

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