HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

SegBlocks: Block-Based Dynamic Resolution Networks for Real-Time Segmentation

Thomas Verelst Tinne Tuytelaars

SegBlocks: Block-Based Dynamic Resolution Networks for Real-Time Segmentation

Abstract

SegBlocks reduces the computational cost of existing neural networks, by dynamically adjusting the processing resolution of image regions based on their complexity. Our method splits an image into blocks and downsamples blocks of low complexity, reducing the number of operations and memory consumption. A lightweight policy network, selecting the complex regions, is trained using reinforcement learning. In addition, we introduce several modules implemented in CUDA to process images in blocks. Most important, our novel BlockPad module prevents the feature discontinuities at block borders of which existing methods suffer, while keeping memory consumption under control. Our experiments on Cityscapes, Camvid and Mapillary Vistas datasets for semantic segmentation show that dynamically processing images offers a better accuracy versus complexity trade-off compared to static baselines of similar complexity. For instance, our method reduces the number of floating-point operations of SwiftNet-RN18 by 60% and increases the inference speed by 50%, with only 0.3% decrease in mIoU accuracy on Cityscapes.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
real-time-semantic-segmentation-on-cityscapesSegBlocks-RN18 (t=0.4)
Frame (fps): 48.6 (1080Ti)
mIoU: 73.8%
semantic-segmentation-on-mapillary-valSegBlocks-RN50 (t=0.4)
mIoU: 39.7

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
SegBlocks: Block-Based Dynamic Resolution Networks for Real-Time Segmentation | Papers | HyperAI