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

Questions about the inputs of LSTM in the DeepVO #32

Open
LiuWheel opened this issue Jul 30, 2020 · 1 comment
Open

Questions about the inputs of LSTM in the DeepVO #32

LiuWheel opened this issue Jul 30, 2020 · 1 comment

Comments

@LiuWheel
Copy link

In the official document, the input of LSTM is (seq_len, batch, input_size).However in your code, the input of LSTM is (Batch, Seq_len, input_size).Use torch.transpose(x,1,0)??

@paaraujo
Copy link

paaraujo commented Apr 2, 2021

@LiuWheel, I think we need to set the batch_first argument to True.

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

2 participants