Skip to content

Commit

Permalink
Update code with require_flatten
Browse files Browse the repository at this point in the history
  • Loading branch information
GKalliatakis authored Jan 3, 2018
1 parent b64cc00 commit 50648dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resnet101.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def ResNet101(include_top=True, weights='imagenet',
default_size=img_size,
min_size=197,
data_format=K.image_data_format(),
include_top=include_top)
require_flatten=include_top)

if input_tensor is None:
img_input = Input(shape=input_shape)
Expand Down

0 comments on commit 50648dd

Please sign in to comment.