Skip to content

Commit

Permalink
Fix input shape dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
MannyKayy authored Nov 4, 2016
1 parent 3142eaa commit b511df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cifar_generator_cnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def model(datagen, X_train, Y_train, X_test, Y_test):
model = Sequential()

model.add(Convolution2D(32, 3, 3, border_mode='same',
input_shape=(img_channels, img_rows, img_cols)))
input_shape=X_train.shape[1:]))
model.add(Activation('relu'))
model.add(Convolution2D(32, 3, 3))
model.add(Activation('relu'))
Expand Down

0 comments on commit b511df7

Please sign in to comment.