EchoTorch
EchoTorch copied to clipboard
optimizer got an empty parameter list
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!
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.
I also have the exact same problem trying to run the time series prediction example code.
It is also giving the same error in my code when using ESN with SGD.
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)