Using CNTK backend
Traceback (most recent call last):
File "c:\Users\malan\Documents\Python Scripts\keras-resnet-master\cifar10.py", line 49, in
model = resnet.ResnetBuilder.build_resnet_18((img_channels, img_rows, img_cols), nb_classes)
File "c:\Users\malan\Documents\Python Scripts\keras-resnet-master\resnet.py", line 233, in build_resnet_18
return ResnetBuilder.build(input_shape, num_outputs, basic_block, [2, 2, 2, 2])
File "c:\Users\malan\Documents\Python Scripts\keras-resnet-master\resnet.py", line 214, in build
block = _residual_block(block_fn, filters=filters, repetitions=r, is_first_layer=(i == 0))(block)
File "c:\Users\malan\Documents\Python Scripts\keras-resnet-master\resnet.py", line 104, in f
is_first_block_of_first_layer=(is_first_layer and i == 0))(input)
File "c:\Users\malan\Documents\Python Scripts\keras-resnet-master\resnet.py", line 127, in f
residual = _bn_relu_conv(filters=filters, kernel_size=(3, 3))(conv1)
File "c:\Users\malan\Documents\Python Scripts\keras-resnet-master\resnet.py", line 65, in f
kernel_regularizer=kernel_regularizer)(activation)
File "C:\Users\malan\Anaconda3\envs\cntkkeraspy35\Lib\site-packages\keras\engine\topology.py", line 596, in call
output = self.call(inputs, *kwargs)
File "C:\Users\malan\Anaconda3\envs\cntkkeraspy35\Lib\site-packages\keras\layers\convolutional.py", line 164, in call
dilation_rate=self.dilation_rate)
File "C:\Users\malan\Anaconda3\envs\cntkkeraspy35\Lib\site-packages\keras\backend\cntk_backend.py", line 1340, in conv2d
padding])
File "C:\Users\malan\Anaconda3\envs\cntkkeraspy35\Lib\site-packages\cntk\internal\swig_helper.py", line 69, in wrapper
result = f(args, **kwds)
File "C:\Users\malan\Anaconda3\envs\cntkkeraspy35\Lib\site-packages\cntk\ops__init__.py", line 253, in convolution
max_temp_mem_size_in_samples, name)
ValueError: Convolution operation requires that kernel dim 3 <= input dim 2.
[CALL STACK]
Microsoft::MSR::CNTK::Matrix:: __autoclassinit2
I get error when I use cntk for backend.