ACCV-Lab

General Info

  • ACCV-Lab Overview
  • Guides

Contained Packages

  • On Demand Video Decoder
  • Batching Helpers
  • Multi-Tensor Copier
  • DALI Pipeline Framework
  • Lane Helpers
  • Draw Heatmap
  • Optimization Testing Tools

Contained Demos

  • Demos
    • StreamPETR
      • Demos for Contained Packages
        • Batching Helpers Demo
          • Overview
          • Batching Matching
          • Batching Loss — Focal Head
          • Batching Loss — StreamPETR Head
          • Evaluation
          • Summary
        • DALI Pipeline Framework Demo
        • Optimization Testing Tools Demo
      • Running the Demos
      • Choosing a Configuration
      • Running All Evaluations
      • Measurement and Profiling

References

  • Release Notes
  • Third-Party Licenses
ACCV-Lab
  • Demos
  • Batching Helpers Demo
  • View page source

Batching Helpers Demo

This demo shows how to use accvlab.batching_helpers to batch the matching and loss computations in StreamPETR.

See also

See the Evaluation for measured speedups, the experiment setup and commands to compare the baseline and optimized implementations.

The demo is structured as follows:

  • Overview
  • Batching Matching
    • Overview and Goals
    • Pre-processing
    • Cost Matrix Computation
    • Perform the Matching
    • Combine Results and Post-processing
    • Note on the 3D Assigner Implementation
  • Batching Loss — Focal Head
    • Overview and Goals
    • Top-level Loss Computation Implementation
    • Detailed Loss Computation Implementation
  • Batching Loss — StreamPETR Head
    • Overview and Goals
    • Top-level Loss Computation
    • Inside loss_batched()
    • Other Notable Implementations Changes
  • Evaluation
    • Setup
    • Results
    • How to Run
  • Summary
Previous Next

© Copyright 2026, NVIDIA Corporation.

Built with Sphinx using a theme provided by Read the Docs.