Skip to content

Instantly share code, notes, and snippets.

View margaretmeehan's full-sized avatar

Margaret Meehan margaretmeehan

View GitHub Profile
@margaretmeehan
margaretmeehan / unet.py
Created July 12, 2018 16:24
Keras U-Net
def unet(input_shape):
'''
Params: input_shape -- the shape of the images that are input to the model
in the form (width_or_height, width_or_height,
num_color_channels)
Returns: model -- a model that has been defined, but not yet compiled.
The model is an implementation of the Unet paper
(https://arxiv.org/pdf/1505.04597.pdf) and comes
from this repo https://github.com/zhixuhao/unet. It has