All models

monai.AutoEncoder

MONAI's plain convolutional autoencoder: three strided convolutions down, three transpose convolutions back up.

Medical imaging · 17 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (29 KB)

Open in a new tab

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

Parameters
782
Operations
17
Framework
PyTorch
Recurrent
No
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m7397
Graph hash
73bf2fa0639f9f1db5f2944bf39239eb092f08e56e9ce47207c178f37bcf4c21
Skeleton hash
bf69a8b94c12235c833552ed71d4978c9d8acceb5e5e560c9d7c1255473d6e48
Architecture hash
4a96e3c1d15110f51ba10339798fd463611785121cb3c015888f9092ed1d5188
Diagram SHA-256
09b537a6d896d0b26405e5469509aa47666d5a066d1506e11a90a639fbed469a
TorchLens version
2.35.3
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.AutoEncoder(spatial_dims=2, in_channels=1, out_channels=1, channels=[2, 4, 8], strides=[2, 2, 2])

What it is

This is the AutoEncoder network from MONAI, a simple autoencoder made of an encode sequence of blocks, an intermediary sequence and a decode sequence. The encode blocks are convolutions with a given stride, and the decode blocks are transpose convolutions with the same stride. The same class is the base for the library's VarAutoEncoder.

The model on this page has three layers that each downsample and then upsample their input by a factor of 2, with no intermediate layer between the two halves. Its blocks use the library defaults, which are PReLU activation, instance normalization and no dropout. Residual blocks replace the plain convolutions only when a number of residual units is given, and that number defaults to 0.

Key idea. MONAI's AutoEncoder chains strided convolution blocks for encoding, an optional intermediary sequence, and transpose convolution blocks with the same strides for decoding.

  • AutoEncoder
  • MONAI AutoEncoder
  • convolutional autoencoder
  • conv autoencoder
  • monai
  • encoder decoder
  • transpose convolution
  • image reconstruction

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.