Closed paulfitz closed 7 years ago
@raghakot thanks for the feedback - addressed your comment.
(480, 32)
Tensor("conv1/BiasAdd:0", shape=(?, 112, 112, 64), dtype=float32)
2018-11-02 14:38:04.118278: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Tensor("max_pooling2d_1/MaxPool:0", shape=(?, 56, 56, 64), dtype=float32)
Tensor("activation_4/Relu:0", shape=(?, 56, 56, 64), dtype=float32)
Tensor("activation_7/Relu:0", shape=(?, 56, 56, 64), dtype=float32)
Tensor("activation_10/Relu:0", shape=(?, 56, 56, 64), dtype=float32)
Traceback (most recent call last):
File "resnet26_2.py", line 185, in
I am trying implement resnet with less number of layers. But I get this error. Input shape used is (224,224,3). I use keras 2.2.4 with tensorflow as backend(tensorflow 1.11.0) How to rectify this error?
This shuffles axes around if the global
image_dim_ordering
flag is set totf
, meaning the network should expect input of the form(samples, rows, cols, channels)
rather than(samples, channels, rows, cols)
.