Skip to content

Instantly share code, notes, and snippets.

@kkoehncke
Last active August 12, 2018 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkoehncke/5ed9261408db9dd76c0a73210e3f69de to your computer and use it in GitHub Desktop.
Save kkoehncke/5ed9261408db9dd76c0a73210e3f69de to your computer and use it in GitHub Desktop.
x = model.output
x = BatchNormalization()(x)
x = Dropout(0.6)(x)
x = GlobalAveragePooling2D()(x)
x = Dropout(0.4)(x)
predictions = Dense(2, activation='sigmoid')(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment