U-Net (MONAI BasicUNet)
MONAI's plain five-level U-Net for 1D, 2D and 3D segmentation, after Falk and colleagues.
Medical imaging · 89 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Medical imaging
- Parameters
- 5.7M
- Operations
- 89
- Framework
- PyTorch
- Recurrent
- No
- Published
- Nature Methods 16, 67-70 (2019)
- Cited by
- 1,905 (as of 19 October 2026)
- Authors
- Thorsten Falk, Dominic Mai, Robert Bensch and others
- Source
- monai 1.5.2
- Name in source
- monai.BasicUNet
- License
- GPL-3.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m7401
- Graph hash
- 67280c29837f936b6bad87ac6f35005df0483fb0e97689aa8fd38f6be88921c6
- Skeleton hash
- 33e5010a4d80763883a9541f1ea266f11e6ed69e84865d7760d8bfcd23e316ee
- Architecture hash
- ea22fd8ba5734b091d6e9aa5c8721897b9573e79bb591cb5c96cd6bffecba0b2
- Diagram SHA-256
- b6a66edcdf8497e4b6fc30d40442e2c4fa4c898b935d32b77041cda15378de05
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
monai.networks.nets.basic_unet.BasicUNet(spatial_dims=3, in_channels=1, out_channels=2, features=[32, 32, 64, 128, 256, 32])
What it is
BasicUNet is MONAI's plain U-Net, a convolutional encoder-decoder for image segmentation that works on 1D, 2D and 3D inputs. It is based on the U-Net that Falk and colleagues described in Nature Methods for cell counting, detection and morphometry. The authors' own U-Net Segmentation tool ships as a Fiji plugin backed by a special variant of caffe, caffe_unet, running on a Linux workstation.
The encoder is five levels of two convolutions each, separated by max pooling with a kernel of 2; each decoder stage upsamples, concatenates the matching encoder feature map and applies two more convolutions. Six feature numbers set the widths: the first five are the five encoder levels and the last is the width after the final upsampling, defaulting to 32, 32, 64, 128, 256 and 32. A final 1x1 convolution maps that last width to the output channels, giving raw per-voxel predictions. By default the activation is LeakyReLU and the normalization is instance norm, with transposed-convolution upsampling; pixel shuffle and non-trainable interpolation are the alternatives. Input edge lengths are recommended to be multiples of 16 so that every max-pooling input has even edges.
Key idea. MONAI's BasicUNet implements the Falk and colleagues U-Net as a five-level encoder-decoder with concatenating skip connections for 1D, 2D and 3D segmentation.
- basicunet
- basic unet
- u-net
- unet
- monai
- segmentation
- cell counting
- 3d segmentation
- medical image segmentation
- fiji
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Falk_2018, title={U-Net: deep learning for cell counting, detection, and morphometry}, volume={16}, ISSN={1548-7105}, url={http://dx.doi.org/10.1038/s41592-018-0261-2}, DOI={10.1038/s41592-018-0261-2}, number={1}, journal={Nature Methods}, publisher={Springer Science and Business Media LLC}, author={Falk, Thorsten and Mai, Dominic and Bensch, Robert and Çiçek, Özgün and Abdulkadir, Ahmed and Marrakchi, Yassine and Böhm, Anton and Deubner, Jan and Jäckel, Zoe and Seiwald, Katharina and Dovzhenko, Alexander and Tietz, Olaf and Dal Bosco, Cristina and Walsh, Sean and Saltukoglu, Deniz and Tay, Tuan Leng and Prinz, Marco and Palme, Klaus and Simons, Matias and Diester, Ilka and Brox, Thomas and Ronneberger, Olaf}, year={2018}, month=Dec, pages={67–70} }