Skip to content

Instantly share code, notes, and snippets.

View vibhor98's full-sized avatar
🎯
DRY : Don't Repeat Yourself

Vibhor Agarwal vibhor98

🎯
DRY : Don't Repeat Yourself
View GitHub Profile
@vibhor98
vibhor98 / googlenet.py
Created March 13, 2019 18:32 — forked from joelouismarino/googlenet.py
GoogLeNet in Keras
from scipy.misc import imread, imresize
from keras.layers import Input, Dense, Convolution2D, MaxPooling2D, AveragePooling2D, ZeroPadding2D, Dropout, Flatten, merge, Reshape, Activation
from keras.models import Model
from keras.regularizers import l2
from keras.optimizers import SGD
from googlenet_custom_layers import PoolHelper,LRN
def create_googlenet(weights_path=None):