Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in Keras 2.2.0 model have different layer index #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jason9075
Copy link

@jason9075 jason9075 commented Jun 13, 2018

In Keras 2.1.0
vgg.summary()

_________________________________________________________________
Layer (type)                 Output Shape              Param #   
=================================================================
input_1 (InputLayer)         (None, 397, 635, 3)       0         
_________________________________________________________________
block1_conv1 (Conv2D)        (None, 397, 635, 64)      1792      
_________________________________________________________________
block1_conv2 (Conv2D)        (None, 397, 635, 64)      36928     
_________________________________________________________________
........
........
........

But in Keras 2.2.0

vgg.summary()

_________________________________________________________________
Layer (type)                 Output Shape              Param #   
=================================================================
block1_conv1 (Conv2D)        (None, 397, 635, 64)      1792      
_________________________________________________________________
block1_conv2 (Conv2D)        (None, 397, 635, 64)      36928     
_________________________________________________________________
average_pooling2d_1 (Average (None, 198, 317, 64)      0         
_________________________________________________________________
........
........
........

We find that "input_1 (InputLayer) " was missing. So the index of layers were also changed.

@jason9075 jason9075 changed the title in Keras 2.2.0 vgg16 have different layer index in Keras 2.2.0 model have different layer index Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant