We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get error when I use cntk for backend.
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 - CNTK::NDMask:: MaskedCount (x2) - CNTK::Function:: ~Function - CNTK::Evaluator:: TestMinibatch - RtlRunOnceExecuteOnce - InitOnceExecuteOnce - _crtInitOnceExecuteOnce - CNTK::Evaluator:: TestMinibatch - CNTK::Function:: RawOutputs - CNTK::DeviceDescriptor:: UseDefaultDevice - CNTK::Function:: ~Function - CNTK::Evaluator:: TestMinibatch - RtlRunOnceExecuteOnce - InitOnceExecuteOnce - _crtInitOnceExecuteOnce
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I get error when I use cntk for backend.
The text was updated successfully, but these errors were encountered: