Skip to content

Instantly share code, notes, and snippets.

@greentreeys
greentreeys / googlenet.py
Created July 20, 2017 11:04 — 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):
@greentreeys
greentreeys / SkeletonToGraph.ipynb
Created January 29, 2016 06:27 — forked from jeanpat/SkeletonToGraph.ipynb
A ipython notebook. Takes an image, converts its skeleton to a networkx graph
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.