The model file is below as a json output.
Original weights are stored in HDF5
- Reads the weights from a single binary file and a metadata file.
2D convolution operation taking an X, Y, Ca image and making a X, Y, Cb sized image by applying Cb convolutions with a window size Xw, Yw, Ca. For UNET specifically this is (3, 3, 64) in the first layer. For UNET the X, Y dimensions are also reduced to the valid area.
2D max pooling operation that takes a X, Y, C image and makes a X//n, Y//n, C sized image where only the maximum value is kept (for UNET, n = 2)
2D upsampling takes a X, Y, C image and makes a Xn, Yn, C image with the nearest (or zeros) interpolated.
Merge layers take a X, Y, Ca image and combine them along the channel dimension with another image X, Y, Cb to make a X, Y, Ca+Cb image
- Original Paper, https://arxiv.org/pdf/1505.04597.pdf
- Matlab Code, http://lmb.informatik.uni-freiburg.de/people/ronneber/u-net/
- Keras Models in Javascript, https://github.com/genekogan/keras-js