-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Failed to infer shape. Op: A × Bᵀ: Inner dimensions do not match up #180
Comments
Cool, that you found the error. About reduceMean operator, I don’t know if it is easy to implement, I have to look at it. It is the main problem with this implementation, as there are few contribution, I can hardly follow the development of the main stream. I am on holiday and i’ll try to have a look. Olivier |
Cheers buddy, I am trying to implement reduceMean and i did not understand how to take the parameters from the network. I saw the following code into the resharp implementation: n := ns[0]
children := getOrderedChildren(g.g, n)
err := checkCondition(children, 2)
if err != nil {
return err
}
err = a.inferShape(children[1].gorgoniaNode.Value().Data(), children[0].gorgoniaNode.Shape())
if err != nil {
return err
} my question is how do I know witch parameters the calling for reduce will pass? children[1].gorgoniaNode.Value().Data() or children[0].gorgoniaNode.Shape() |
Hello, I'm using my own model and I faced the follow issue while running ->
Failed to infer shape. Op: A × Bᵀ: Inner dimensions do not match up
This is the model shape -> (1, 3, 50, 50)
and the error appear when
PopulateExprgraph
is calledDown bellow is the code
The text was updated successfully, but these errors were encountered: