Skip to content

Instantly share code, notes, and snippets.

View swghosh's full-sized avatar

Swarup Ghosh swghosh

View GitHub Profile
@swghosh
swghosh / GoogLeNet.py
Last active June 8, 2021 00:48
TensorFlow keras implementation of GoogLeNet incarnation of the Inception network architecture. (Szegedy et. al "Going Deeper with Convolutions", CVPR 2015) https://ai.google/research/pubs/pub43022
#!/usr/bin/env python3
"""
Construct GoogLeNet incarnation of the Inception network using Keras.
"""
from tensorflow.keras.layers import Conv2D, MaxPooling2D, AveragePooling2D, GlobalAveragePooling2D
from tensorflow.keras.layers import Input, Dense, Dropout, Concatenate, Flatten
from tensorflow.nn import local_response_normalization
from tensorflow.keras.regularizers import l2