DenseNet-Keras
DenseNet-Keras copied to clipboard
AssertionError: AbstractConv shape mismatch: shape of filters does not match given kshp.
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})]]
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
make sure that reduction=0.5
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.