keras-shufflenetV2
keras-shufflenetV2 copied to clipboard
I find that if the input is equal to (None,None,3),May be an error
x = K.reshape(x, [-1, height, width, 2, channels_per_split]) #Failed to convert object of type <class 'list'> to Tensor. Contents: [-1, None, None, 2, 16]. Consider casting #elements to a supported type.
I find it, but I change to 'model = ShuffleNetV2(include_top=False, input_tensor=Input(shape=(224, 224, 3)), bottleneck_ratio=1)', then no error and could work.