← Open Source
nschaetti

EchoTorch

A Python toolkit for Reservoir Computing and Echo State Network experimentation based on pyTorch. EchoTorch is the only Python module available to easily create Deep Reservoir Computing models.

Model DevelopmentArchitecturePython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
502
Stars
117
Forks
+0
This week
4
Contributors
Created 2017-04-06 · Updated 2026-10-04 · #18294 today
Top developers
nschaettiRaameshBtommybilwij

nschaetti/EchoTorch is ranked 18,294 with 502 stars.

Same-category comparison

nschaetti/EchoTorch is ranked 18,294 among these 8 peers; jazzsaxmafia/show_attend_and_tell.tensorflow is ranked 18,291.

Same-category comparison
NameRankMetrics
ankanbhunia/PIDM18,282
Language:
Jupyter Notebook
Stars:
502
Forks:
60
Description:
Person Image Synthesis via Denoising Diffusion Model (CVPR 2023).
bytedance/ComfyUI-HyperLoRA18,284
Language:
Python
Stars:
502
Forks:
30
Description:
[CVPR 2025 Highlight🌟] Official ComfyUI implementation of "HyperLoRA: Parameter-Efficient Adaptive Generation for Portrait Synthesis".
huailiang/face-nn18,289
Language:
HLSL
Stars:
502
Forks:
151
jazzsaxmafia/show_attend_and_tell.tensorflow18,291
Language:
Jupyter Notebook
Stars:
502
Forks:
189
weinman/cnn_lstm_ctc_ocr18,299
Language:
Python
Stars:
502
Forks:
165
Description:
Tensorflow-based CNN+LSTM trained with CTC-loss for OCR.
ziqihuangg/ReVersion18,301
Language:
Python
Stars:
502
Forks:
20
Description:
[SIGGRAPH Asia 2024] ReVersion: Diffusion-Based Relation Inversion from Images.
Windsooon/cherry18,311
Language:
Python
Stars:
501
Forks:
40
Description:
text classification - no machine learning knowledge needed.
acbull/GPT-GNN18,314
Language:
Python
Stars:
501
Forks:
89
Description:
Code for KDD'20 "Generative Pre-Training of Graph Neural Networks".
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryArchitecture
KeywordsRNNs
Stars502
Forks117
Contributors4
Created date2017-04-06
Updated date2026-10-04
Stars in 1 day0
Stars in 7 days0
Rank18,294
Previous rank18,049
Rank change-245
7-day stars rank16,584
Previous 7-day stars rank16,599
7-day stars rank change15
Total stars rank19,317
Previous total stars rank19,298
Total stars rank change-19
CountrySwitzerland
README summary

EchoTorch is not intended to be put into production but for research purposes. As it is based on pyTorch, EchoTorch's layers can be integrated into deep architectures. EchoTorch gives two possible ways to train models : Classical ESN training with Moore Penrose pseudo-inverse or LU decomposition; pyTorch gradient descent optimizer; Join our community to create datasets and deep-learning models! Chat with us on Gitter and join the Google Group to collaborate with us. datasets : Pre-built datasets for common

ESN tasks echotorch. models : Generic pretrained ESN models echotorch. transforms : Data transformations specific to echo state networks echotorch. utils : Tools, functions and measures for echo state networks Getting started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. Prerequisites You need to following package to install EchoTorch. pyTorch TorchVision Installation Authors **Nils Schaetti

** - *Initial work* - nschaetti License This project is licensed under the GPLv3 License - see the LICENSE file for details. Citing If you find EchoTorch useful for an academic publication, then please use the following BibTeX to cite it: A short introduction Classical ESN training You can simply create an ESN with the ESN or LiESN objects in the nn module. Where input_dim is the input dimensionality; h_hidden is the size of the reservoir; output_dim is the output dimensionality

; spectral_radius is the spectral radius with a default value of 0. 9; learning_algo allows you to choose with training algorithms to use. The possible values are inv, LU and sdg; You now just have to give the ESN the inputs and the attended outputs. After giving all examples to EchoTorch, you just have to call the finalize method. The model is now trained and you can call the esn object to get a prediction. ESN training with Stochastic

Gradient Descent

Frequently asked questions

How many stars and forks are recorded?

nschaetti/EchoTorch has 502 stars and 117 forks.

What is the repository rank?

nschaetti/EchoTorch is ranked 18,294.

What language and category are recorded?

nschaetti/EchoTorch has 502 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

nschaetti/EchoTorch is compared with jazzsaxmafia/show_attend_and_tell.tensorflow, ranked 18,291 with 502 stars.

README


EchoTorch is a python module based on pyTorch to implement and test various flavours of Echo State Network models. EchoTorch is not intended to be put into production but for research purposes. As it is based on pyTorch, EchoTorch's layers can be integrated into deep architectures. EchoTorch gives two possible ways to train models :

  • Classical ESN training with Moore Penrose pseudo-inverse or LU decomposition;
  • pyTorch gradient descent optimizer;

Join our community to create datasets and deep-learning models! Chat with us on Gitter and join the Google Group to collaborate with us.

This repository consists of:

  • echotorch.datasets : Pre-built datasets for common ESN tasks
  • echotorch.models : Generic pretrained ESN models
  • echotorch.transforms : Data transformations specific to echo state networks
  • echotorch.utils : Tools, functions and measures for echo state networks

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need to following package to install EchoTorch.

  • pyTorch
  • TorchVision

Installation

pip install EchoTorch

Authors

License

This project is licensed under the GPLv3 License - see the LICENSE file for details.

Citing

If you find EchoTorch useful for an academic publication, then please use the following BibTeX to cite it:

@misc{echotorch,
  author = {Schaetti, Nils},
  title = {EchoTorch: Reservoir Computing with pyTorch},
  year = {2018},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/nschaetti/EchoTorch}},
}

A short introduction

Classical ESN training

You can simply create an ESN with the ESN or LiESN objects in the nn module.

esn = etnn.LiESN(
    input_dim,
    n_hidden,
    output_dim,
    spectral_radius,
    learning_algo='inv',
    leaky_rate=leaky_rate
)

Where

  • input_dim is the input dimensionality;
  • h_hidden is the size of the reservoir;
  • output_dim is the output dimensionality;
  • spectral_radius is the spectral radius with a default value of 0.9;
  • learning_algo allows you to choose with training algorithms to use. The possible values are inv, LU and sdg;

You now just have to give the ESN the inputs and the attended outputs.

for data in trainloader:
    # Inputs and outputs
    inputs, targets = data

    # To variable
    inputs, targets = Variable(inputs), Variable(targets)

    # Give the example to EchoTorch
    esn(inputs, targets)
# end for

After giving all examples to EchoTorch, you just have to call the finalize method.

esn.finalize()

The model is now trained and you can call the esn object to get a prediction.

predicted = esn(test_input)

ESN training with Stochastic Gradient Descent

Nearby in the ranking
Similar items