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

AssertionError: AbstractConv shape mismatch: shape of filters does not match given kshp. #17

Open
ChengZheAn opened this issue Sep 24, 2017 · 3 comments

Comments

@ChengZheAn
Copy link

AssertionError: AbstractConv shape mismatch: shape of filters does not match given kshp.
Apply node that caused the error: Assert{msg='AbstractConv shape mismatch: shape of filters does not match given kshp.'}(InplaceDimShuffle{3,2,0,1}.0, Elemwise{eq,no_inplace}.0, Elemwise{eq,no_inplace}.0, Elemwise{eq,no_inplace}.0, Elemwise{eq,no_inplace}.0)
Toposort index: 2069
Inputs types: [TensorType(float32, 4D), TensorType(bool, scalar), TensorType(bool, scalar), TensorType(bool, scalar), TensorType(bool, scalar)]
Inputs shapes: [(3L, 64L, 7L, 7L), (), (), (), ()]
Inputs strides: [(196L, 588L, 4L, 28L), (), (), (), ()]
Inputs values: ['not shown', array(False, dtype=bool), array(False, dtype=bool), array(True, dtype=bool), array(True, dtype=bool)]
Outputs clients: [[Subtensor{::, ::, ::int64, ::int64}(Assert{msg='AbstractConv shape mismatch: shape of filters does not match given kshp.'}.0, Constant{-1}, Constant{-1})]]

@flyyufelix
Copy link
Owner

Make sure the inputs to the model is of dimension (batch_size, 224, 224, 3) for tensorflow and (batch_size, 3, 224, 224) for theano backend

@nader93k
Copy link

nader93k commented Aug 3, 2018

make sure that reduction=0.5

@huyanfei-cqupt
Copy link

Make sure the inputs to the model is of dimension (batch_size, 224, 224, 3) for tensorflow and (batch_size, 3, 224, 224) for theano backend

hi,i try to run the test code,but i meet a error. the error as follow:
TypeError: 'module' object is not callable
can you help me to resolve it? thanks.

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

4 participants