Skip to content

Instantly share code, notes, and snippets.

@cnd
Created July 12, 2019 13:31
Show Gist options
  • Save cnd/558247ab8cc45f280997f42cb126905b to your computer and use it in GitHub Desktop.
Save cnd/558247ab8cc45f280997f42cb126905b to your computer and use it in GitHub Desktop.
Model: "sequential"
_________________________________________________________________
Layer (type) Output Shape Param #
=================================================================
conv2d (Conv2D) (None, 510, 510, 32) 896
_________________________________________________________________
conv2d_1 (Conv2D) (None, 508, 508, 32) 9248
_________________________________________________________________
conv2d_2 (Conv2D) (None, 506, 506, 32) 9248
_________________________________________________________________
max_pooling2d (MaxPooling2D) (None, 253, 253, 32) 0
_________________________________________________________________
dropout (Dropout) (None, 253, 253, 32) 0
_________________________________________________________________
conv2d_3 (Conv2D) (None, 251, 251, 64) 18496
_________________________________________________________________
conv2d_4 (Conv2D) (None, 249, 249, 64) 36928
_________________________________________________________________
conv2d_5 (Conv2D) (None, 247, 247, 64) 36928
_________________________________________________________________
max_pooling2d_1 (MaxPooling2 (None, 123, 123, 64) 0
_________________________________________________________________
dropout_1 (Dropout) (None, 123, 123, 64) 0
_________________________________________________________________
conv2d_6 (Conv2D) (None, 121, 121, 128) 73856
_________________________________________________________________
conv2d_7 (Conv2D) (None, 119, 119, 128) 147584
_________________________________________________________________
conv2d_8 (Conv2D) (None, 117, 117, 128) 147584
_________________________________________________________________
max_pooling2d_2 (MaxPooling2 (None, 58, 58, 128) 0
_________________________________________________________________
dropout_2 (Dropout) (None, 58, 58, 128) 0
_________________________________________________________________
flatten (Flatten) (None, 430592) 0
_________________________________________________________________
dense (Dense) (None, 256) 110231808
_________________________________________________________________
dropout_3 (Dropout) (None, 256) 0
_________________________________________________________________
dense_1 (Dense) (None, 2) 514
=================================================================
Total params: 110,713,090
Trainable params: 110,713,090
Non-trainable params: 0
_________________________________________________________________
Sequential keras model summary: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment