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

optimizer got an empty parameter list #6

Open
flaviadcasag opened this issue Oct 9, 2018 · 4 comments
Open

optimizer got an empty parameter list #6

flaviadcasag opened this issue Oct 9, 2018 · 4 comments
Assignees
Labels

Comments

@flaviadcasag
Copy link

Hi,
I am trying to run the code time series prediction sgd but I got an error "optimizer got an empty parameter list". I googled and found we need to register some parameters. Do you have an updated code for LiESN with the parameters list fixed?

Thank you!

@Fuxino
Copy link

Fuxino commented Nov 30, 2018

Same problem. I tried using the ESN module for my project but it's giving me this error:
ValueError: optimizer got an empty parameter list

Also trying to run the time series prediction example code gives the same error.

@AlexanderRadovic
Copy link

I also have the exact same problem trying to run the time series prediction example code.

@Aak6ash
Copy link

Aak6ash commented Jun 26, 2019

It is also giving the same error in my code when using ESN with SGD.

@nschaetti nschaetti added this to To do in EchoTorch 1.0 Jun 17, 2020
@JordanMajd
Copy link

Same error, relevant code snippets:

esn = etnn.ESN(
    input_dim=input_dim,
    hidden_dim=n_hidden,
    output_dim=output_dim,
    learning_algo='grad',
    w_generator=w_generator,
    win_generator=win_generator,
    wbias_generator=wbias_generator,
)
optimizer = optim.SGD(esn.parameters(), lr=learning_rate, momentum=momentum, weight_decay=weight_decay)

@nschaetti nschaetti self-assigned this Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
EchoTorch 1.0
  
Fixes
Development

No branches or pull requests

6 participants