Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run any examples in timeserie_prediction folder #28

Open
havenotfear opened this issue Mar 29, 2024 · 1 comment
Open

Can't run any examples in timeserie_prediction folder #28

havenotfear opened this issue Mar 29, 2024 · 1 comment

Comments

@havenotfear
Copy link

Trying to run any examples leads to issues

Reproduction steps

  1. install EchoTorch pip install -i https://test.pypi.org/simple/ EchoTorch
  2. Run narma10_gated_esn.py
  3. Errors: TypeError: NARMADataset.init() got an unexpected keyword argument 'seed'
  4. Remove Seed from dataset call
  5. TypeError: ESNCell.init() got an unexpected keyword argument 'spectral_radius' (bias_scaling, sparsity, w_sparsity, input_set)
  6. Remove these arguments in the constructor GatedESN call to LiESNCell constructor.
    if create_cell: self.esn_cell = LiESNCell( input_dim=input_dim, output_dim=reservoir_dim, input_scaling=input_scaling, w=w, w_in=w_in, w_bias=w_bias, nonlin_func=nonlin_func, leaky_rate=leaky_rate )
  7. Error with Dataloader when num_workers > 0, Set to 0
  8. ESNCell.py", line 319, in _input_layer
    return self.w_in.mv(ut)
    ^^^^^^^^^^^^^^^^
    RuntimeError: vector + matrix @ vector expected, got 1, 1, 1

Not sure where the problem lies or if I'm using an incompatible version of EchoTorch, has anyone had success running this one?

@HebeuOfYuanKun
Copy link

我感觉可能是他的这个文件夹下的东西已经不在维护

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants