
adabins_efnet_b5
Depth estimation115 ops85.8K params
Single-image depth estimator that predicts per-image depth bins and blends their centers at each pixel.
Depth estimation · 115 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.
How this diagram was made
menagerie.classics.ri_vision_a_adabins:build_adabins_efnet_b5_kitti: build({}) This model is the outdoor configuration: the paper trains it on KITTI, where depth maps have an upper bound of 80 meters.
About this model's family
AdaBins estimates a dense depth map from a single RGB image. Its central piece is a transformer-based block that divides the depth range into bins whose centers are estimated separately for each image. The depth at each pixel is then a linear combination of those bin centers.
The network has two parts: an encoder-decoder built on a pretrained EfficientNet B5 encoder with a standard upsampling decoder, followed by the AdaBins block. The first stage of that block, called mini-ViT, applies a Transformer encoder to patch embeddings of the decoded features. It produces a vector of bin widths, which sets how the depth interval is divided for that image, and a set of Range-Attention-Maps used to compute depth at each pixel. The attention sits after the decoder, not at the bottleneck, because the authors found better results when attention ran on the spatially higher-resolution tensors. Because the model does not output the center of the most likely bin, the paper says its depth maps are smooth and free of discretization artifacts.
The paper reports about 78M parameters for its main model, 5.8M of them in the AdaBins module. On the KITTI dataset it reports an RMS score about 13.5% better than the best earlier method it compares with.
Key idea. AdaBins adds a transformer-based block to an encoder-decoder network that divides the depth range into bins estimated per image and outputs depth as a linear combination of bin centers.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.