Skip to content

Instantly share code, notes, and snippets.

View pp33pant's full-sized avatar
🏠
Working from home

Guanghui/Panda pp33pant

🏠
Working from home
  • University of Oxford
  • Bicester, Oxfordshire
View GitHub Profile
@pp33pant
pp33pant / googlenet.py
Created April 2, 2019 15:46 — 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):