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

mat1 and mat2 shapes cannot be multiplied (1323x9248 and 1568x32) #42

Closed
jcgeo9 opened this issue Feb 11, 2022 · 2 comments
Closed

mat1 and mat2 shapes cannot be multiplied (1323x9248 and 1568x32) #42

jcgeo9 opened this issue Feb 11, 2022 · 2 comments

Comments

@jcgeo9
Copy link

jcgeo9 commented Feb 11, 2022

These are the shapes of my input, input_len, target, target_len where batch size=27
image

This is the setup I am running (only using first batch to check that is working before training with all the batches)
image

This is the error I am getting
image

I need some assistance here please:)

@sooftware
Copy link
Owner

Is this solved?

@jcgeo9
Copy link
Author

jcgeo9 commented Feb 21, 2022

yes i had to transpose the input from [32, 201, 1162] to [32, 1162, 201] (batch, seq_len, dim)

@jcgeo9 jcgeo9 closed this as completed Feb 21, 2022
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