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.
https://nschaetti.github.io/echotorch.github.io/
GNU General Public License v3.0
441 stars 117 forks source link

narma10_esn.py Empty Exception #18

Closed roumpakis closed 3 years ago

roumpakis commented 4 years ago

I am trying to run https://github.com/nschaetti/EchoTorch/blob/master/examples/timeserie_prediction/narma10_esn.py but i get an Empty Exception when the example try to load data

data = self._data_queue.get(timeout=timeout)

Why does this happen? My setup: pyTorch 1.5 torchVision 0.6.0 MDP 3.6

imhithanks commented 3 years ago

Me too. I can't import Echotorch.

dimitrisdermanis commented 3 years ago

see here: https://github.com/nschaetti/EchoTorch/issues/19#issuecomment-759498191

in brief:

  1. go to https://github.com/nschaetti/EchoTorch/releases and download the latest release
  2. install the latest release from the downloaded file (202006291 is the latest version at the moment): $pip install ./EchoTorch-202006291.zip
  3. test it out using narma10_esn.py (other examples have some issues)

you may still need to install some more python packages not listed in the requirements file but it works once you do this.