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

Error when decoder has more than 1 layer. #312

Open
pajola opened this issue May 3, 2020 · 0 comments
Open

Error when decoder has more than 1 layer. #312

pajola opened this issue May 3, 2020 · 0 comments
Labels
question Further information is requested topic: examples Issue about examples

Comments

@pajola
Copy link

pajola commented May 3, 2020

The output is the follwoing:
RuntimeError: Input batch size 128 doesn't match hidden[0] batch size 256

The issue is due to the "initial_state=lstm_states" when the decoder is forwarded.

@gpengzhi gpengzhi added bug Something isn't working topic: examples Issue about examples labels May 6, 2020
@gpengzhi gpengzhi removed the bug Something isn't working label Jun 12, 2020
@gpengzhi gpengzhi added the question Further information is requested label Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested topic: examples Issue about examples
Projects
None yet
Development

No branches or pull requests

2 participants