All models

mmagic_indexnet

An image matting encoder-decoder whose pooling and upsampling are guided by learned indices.

Segmentation · 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 (24 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
39.1K
Operations
17
Framework
PyTorch
Recurrent
No
Published
ICCV (arXiv 2019)
Cited by
11 (as of 5 October 2026)
Authors
Hao Lü, Yutong Dai, Chunhua Shen, Songcen Xu
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
m12025
Graph hash
849ba21e01bda76a47a2f2027aee3c1c34845ce73316bfd3dc5876e411be7b6e
Skeleton hash
c36cd467abe908deb4742d9698edb73c76d02b0767ebdb90f22c6663f867b4db
Architecture hash
b49b6c5f3be0bcf292ca73b0003d82579a8e88b5c3813fe1a2c1615ef3f77c88
Diagram SHA-256
3f94da61405def1de4e46195ad9a1882cf888d53943f6d867f122950fc8ac8f7
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

menagerie.classics.indexnet_matting:build_indexnet_matting: build({})

What it is

IndexNet Matting is an encoder-decoder network for natural image matting, where the output is a predicted alpha matte. Its 4-channel input concatenates the RGB image and its trimap.

The paper starts from an observation about decoders in deep image matting: unpooling guided by indices recovers boundary details much better than other upsampling operators such as bilinear interpolation. Instead of max pooling and unpooling, the model uses indexed pooling and indexed upsampling, in which learned indices guide both the downsampling and the upsampling. The indices are generated from the feature map by a fully convolutional network, termed IndexNet, and are learned without supervision. The authors present the framework as one that naturally generalizes SegNet.

The paper investigates two families of index networks, holistic and depthwise. In a holistic index network all channels of the feature map share one index map, and in a depthwise one the index map has the same size as the feature map. On the Composition-1k matting dataset, the paper reports that its model built on MobileNetv2 improves on the VGG-16 based deep matting baseline by at least 16.1%, with less training data and lower model capacity.

Key idea. The paper treats upsampling operators as index functions and builds an encoder-decoder in which a module, IndexNet, predicts the indices that guide pooling and upsampling.

  • indexnet
  • indexnet matting
  • index net
  • image matting
  • natural image matting
  • alpha matting
  • alpha matte
  • learning to index
  • indices matter
  • indexed pooling

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

Cite the paper

@misc{lu2019indicesmatterlearningindex,
      title={Indices Matter: Learning to Index for Deep Image Matting}, 
      author={Hao Lu and Yutong Dai and Chunhua Shen and Songcen Xu},
      year={2019},
      eprint={1908.00672},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1908.00672}, 
}