I am trying to replicate VGG16 model in keras, the following is my code:
model = Sequential() model.add(ZeroPadding2D((1,1),input_shape=(3,224,224))) model.add(C
For keras with TensorFlow try following:
model.add(ZeroPadding2D((1, 1), input_shape=(img_rows, img_cols, channel)))