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 · 5 comments
Open

optimizer got an empty parameter list #6

flaviadcasag opened this issue Oct 9, 2018 · 5 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.

@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
@RaameshB
Copy link
Contributor

RaameshB commented Nov 2, 2024

This should hopefully be fixed with #33

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

No branches or pull requests

7 participants