https://github.com/mostafa-wael/u-net-in-pytorch
This is an implementation of the U-Net model from the paper, U-Net: Convolutional Networks for Biomedical Image Segmentation.
https://github.com/mostafa-wael/u-net-in-pytorch
neural-networks pytoch semantic-segmentation u-net unet-pytorch
Last synced: about 1 year ago
JSON representation
This is an implementation of the U-Net model from the paper, U-Net: Convolutional Networks for Biomedical Image Segmentation.
- Host: GitHub
- URL: https://github.com/mostafa-wael/u-net-in-pytorch
- Owner: Mostafa-wael
- Created: 2023-05-10T18:02:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-12T11:53:50.000Z (about 3 years ago)
- Last Synced: 2025-04-14T23:41:48.632Z (about 1 year ago)
- Topics: neural-networks, pytoch, semantic-segmentation, u-net, unet-pytorch
- Language: Jupyter Notebook
- Homepage: https://mostafawael.medium.com/cook-your-first-u-net-in-pytorch-b3297a844cf3
- Size: 433 KB
- Stars: 23
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# U-Net-in-PyTorch
This is an implementation of the U-Net model from the paper, [U-Net: Convolutional Networks for Biomedical Image Segmentation](https://papers.labml.ai/paper/1505.04597).
## How does it work?
U-Net is made up of a contracting path and an expanding path.
The contracting route is a series of convolutional layers and pooling layers that gradually diminish the resolution of the feature map.
The expansive route is a succession of up-sampling and convolutional layers that gradually enhance the resolution of the feature map.
The relevant feature map from the contracting path is concatenated with the current feature map at each step in the expansive path.
## Architecture

## Example output
Image -> Mask -> Predicted Mask

>> Generated using this [test script](./test.py).
## Implementation
Check the [attached notebook](./U_Net.ipynb) for implementation details.