Skip to content

An simple implementation of Unet because all the implementations i've seen are wayy tooo complicated.

License

Notifications You must be signed in to change notification settings

kyegomez/SimpleUnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Modality

Unet

My implemenetation of a modular Unet from the paper "U-Net: Convolutional Networks for Biomedical Image Segmentation"

Paper Link

Appreciation

  • Lucidrains
  • Agorians

Install

pip install unet-torch

Usage

import torch
from unet.model import Unet

model = Unet(n_channels=3, n_classes=1)

inputs = torch.randn(1, 3, 256, 256)

outputs = model(inputs)

print(outputs.size)

print(outputs)

License

MIT

Citations

@misc{1505.04597,
Author = {Olaf Ronneberger and Philipp Fischer and Thomas Brox},
Title = {U-Net: Convolutional Networks for Biomedical Image Segmentation},
Year = {2015},
Eprint = {arXiv:1505.04597},
}