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

the "units" parameter #9

Open
xi-wan opened this issue May 10, 2021 · 0 comments
Open

the "units" parameter #9

xi-wan opened this issue May 10, 2021 · 0 comments

Comments

@xi-wan
Copy link

xi-wan commented May 10, 2021

Hi! thank you for sharing this amazing code. I have one problem when I try to implement the code.
when I try to run these lines:
multistep_lstm = MultiStepLSTM(look_back=288, look_ahead=1,
layers={'input': 1, 'hidden1':120, 'output':1},
dropout=0.1, loss='mse',
learning_rate=0.02)
model = multistep_lstm.build_model()
it mentioned that: init() missing 1 required positional argument: 'units'

I see you set the self.layers['hidden1'] as units in the function called "StatefulMultiStepLSTM", but set the self.layers['hidden1'] as output_dim in the function"MultiStepLSTM".

can you help me with the missing argument problem?

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

1 participant