Skip to content

Commit

Permalink
remove duplicated lines in example code (keras-team#8522)
Browse files Browse the repository at this point in the history
  • Loading branch information
lance6716 authored and fchollet committed Nov 18, 2017
1 parent 925ca14 commit 236c3eb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/cifar10_resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@
(x_train, y_train), (x_test, y_test) = cifar10.load_data()

# Input image dimensions.
# We assume data format "channels_last".
img_rows = x_train.shape[1]
img_cols = x_train.shape[2]
channels = x_train.shape[3]

if K.image_data_format() == 'channels_first':
img_rows = x_train.shape[2]
img_cols = x_train.shape[3]
Expand Down

0 comments on commit 236c3eb

Please sign in to comment.