All models

BiSeNetV2

BiSeNetV2 is a two-branch convolutional network for real-time semantic segmentation.

Segmentation · 150 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 (42 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
6M
Operations
150
Framework
PyTorch
Recurrent
No
Published
2021
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
m11596
Graph hash
c1e89f5f46d366353d48e36c1c7c00dfb47a06678b31c7e87530f757b49988c3
Skeleton hash
ae2ade67e165f642c2f077163a9a458ba84bc17b647ac1d8396fa9d468ec1554
Architecture hash
fd877a375c304cdf36d1270285303458e9018ab165bfa85282aa0aa276670a12
Diagram SHA-256
95343a56bd7232da63e05282212e23594994fa19c2590ea465f2c3479efb2dee
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.bisenet_segmentation:build_bisenet_v2: build({})

What it is

BiSeNetV2 takes its name from BiSeNet, the Bilateral Segmentation Network for real-time semantic segmentation, and this description follows the BiSeNet paper. That paper starts from a conflict: semantic segmentation needs both rich spatial information and a sizeable receptive field, yet fast models usually give up spatial resolution to reach real-time speed.

Its answer is to split the two needs across two paths. A Spatial Path stacks only three convolution layers to obtain a feature map at 1/8 of the input size, which keeps spatial detail. A Context Path uses a lightweight model and global average pooling to provide a large receptive field. An Attention Refinement Module refines the features of each stage in the Context Path, and a Feature Fusion Module combines the features of the two paths.

For a 2048x1024 input, the paper reports 68.4% Mean IOU on the Cityscapes test dataset at 105 FPS on one NVIDIA Titan XP card.

Key idea. The BiSeNet paper decouples spatial detail and receptive field into a Spatial Path and a Context Path, then merges the two with a Feature Fusion Module.

  • BiSeNetV2
  • BiSeNet
  • bilateral segmentation network
  • real-time semantic segmentation
  • semantic segmentation
  • two-branch segmentation
  • Cityscapes

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