
rvm_resnet50
Segmentation315 ops26.9M params
Recurrent human video matting that needs no trimap or background and runs HD and 4K in real time.
Segmentation · 333 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.
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.
The MobileNetv3 backbone variant, recommended for most use cases.
About this model's family
Robust Video Matting (RVM) is a real-time, high-resolution human video matting method. Matting predicts the alpha matte and foreground color of each frame so the subject can be composited onto a new background. Unlike methods that treat frames as independent images, RVM uses a recurrent architecture to exploit temporal information in the video. It needs no auxiliary inputs such as a trimap or a pre-captured background image.
The network has an encoder that extracts per-frame features, a recurrent decoder that aggregates temporal information, and a Deep Guided Filter module for high-resolution upsampling. The encoder is MobileNetV3-Large followed by the LR-ASPP module, and the decoder applies ConvGRU at multiple scales to half of the channels. The output block projects the features to a 1-channel alpha prediction, a 3-channel foreground prediction and a segmentation channel used only as a training objective. For high-resolution video the frame is downsampled by a factor before the encoder-decoder and the Deep Guided Filter restores full resolution. Training enforces both matting and segmentation objectives, which improves robustness.
The captured members are the MobileNetv3 and ResNet50 variants; the ResNet50 models are the larger variant with small performance improvements. A forward pass returns the foreground, the alpha and four recurrent states that are cycled into the next call.
Key idea. A recurrent ConvGRU decoder that carries temporal memory across frames, trained jointly on matting and segmentation, giving auxiliary-free high-resolution video matting in real time.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{lin2021robusthighresolutionvideomatting,
title={Robust High-Resolution Video Matting with Temporal Guidance},
author={Shanchuan Lin and Linjie Yang and Imran Saleemi and Soumyadip Sengupta},
year={2021},
eprint={2108.11515},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2108.11515},
}