-
Multiple 3D CenterPose
Model
-
Multiple 3D CenterPose

Single-stage, keypoint-based method for category-level object pose estimation

CenterPose Model Card - Multiple Categories

Model Overview

Description:

The Multi-category CenterPose model detects the projections of Three-Dimensional (3D) key points, estimates a 6-Degree of Freedom (DOF) pose, and creates a 3D bounding box. This model is ready for commercial use.

License:

License to use these models is covered by the NVIDIA Open Model License. By downloading the model, you accept the terms and conditions of these licenses.

References:

Citations

  • Yunzhi Lin, Jonathan Tremblay, Stephen Tyree, Patricio Vela, and Stan Birchfield. "Single-Stage Keypoint-based Category-level Object Pose Estimation from an RGB Image." IEEE International Conference on Robotics and Automation (ICRA). 2022.

  • Daquan Zhou, Zhiding Yu, Enze Xie, Chaowei Xiao, Anima Anandkumar, Jiashi Feng and Jose M. Alvarez. "Understanding The Robustness in Vision Transformers". International Conference on Machine Learning (ICML). 2022.

  • Fisher Yu, Dequan Wang, Evan Shelhamer and Trevor Darrell. "Deep Layer Aggregation". Conference on Computer Vision and Pattern Recognition. 2018.

  • Adel Ahmadyan, Liangkai Zhang, Artsiom Ablavatski, Jianing Wei, Matthias Grundmann. "Objectron: A Large Scale Dataset of Object-Centric Videos in the Wild with Pose Annotations". IEEE Conference on Computer Vision and Pattern Recognition. 2021.

Model Architecture:

Architecture Type: Convolutional Neural Network (CNN) and transformer-based
Network Architecture: DLA34 and FAN-Small-Hybrid

This model supports two different types of backbone networks as the feature extractor, including DLA34 and FAN-Small-Hybrid. The DLA34 is a standard Convolutional Neural Network (CNN) backbone, while the FAN-Small-Hybrid is a transformer-based classification backbone.

The network architecture processes a re-scaled and padded RGB image. Using the DLA34/FAN-Small-Hybrid feature extractor combined with an upsampling module, the network outputs distinct heads that predict the projections of 3D bounding box keypoints and relative cuboid dimensions. After detecting objects in the image space, the estimated relative cuboid dimensions enables you to utilize robust, off-the-shelf PnP algorithms for the pose estimation.

Input:

Input Type(s): Images
Input Format(s): Red, Green, Blue (RGB)
Input Parameters: Three-Dimensional (3D)
Other Properties Related to Input: RGB Image of dimensions: 512 X 512 X 3 (W x H x C). Channel Ordering of the Input: NCHW, where N = Batch Size, C = number of channels (3), H = Height of images (512), W = Width of the images (512)

Output:

Output Type(s): 3D Bounding-Box, Cuboid Dimensions and 6-DoF (Degrees of Freedom)
Output Format: 9 Three-Dimensional (3D) Bounding Box Vertices: (x-coordinate, Y-coordinate, Z-coordinate), Cuboid Dimensions (Relative to 3D Bounding Box): (X-scale, Y-scale, Z-scale), 6-DoF: Floating Points
Other Properties Related to Output: The +y is up (aligned with the gravity, green line); The +x follows right hand rule (red line); The +z is the front face (blue line).

BikeBookBottleCamera
Cereal BoxChairLaptopShoes

Software Integration:

Runtime Engine(s):

  • TAO - 5.2

Supported Hardware Architecture(s):

  • Ampere
  • Jetson
  • Hopper
  • Lovelace
  • Pascal
  • Turing
  • Volta

Supported Operating System(s):

  • Linux
  • Linux 4 Tegra

Model Version(s):

Training & Evaluation:

Training Dataset:

Data Collection Method by dataset:

  • Automatic/Sensors

Labeling Method by dataset:

  • Human

Properties:

  • Trained on a dataset comprised of 15,000 annotated video clips, totaling over 4M annotated frames. Every category is marked with a 3D bounding cuboid that indicates the object's position, orientation relative to the camera, and the cuboid's dimensions.
  • Objects are from the following eight categories: bikes, books, bottles, cameras, cereal boxes, chairs, laptops, and shoes.
  • For training purposes, frames are extracted by temporally down-sampling the original videos to 15 fps. For symmetric objects, such as bottles, multiple ground truth labels are produced during the training phase by rotating them N times around their symmetry axis.
Category# of Training Videos# of Training Images# of Testing Videos# of Testing Images
Bike3758,396942,090
Book1,61831,6094047,885
Bottle1,54226,0903856,442
Camera65212,7581633,283
Cereal Box1,28822,0243215,428
Chair1,55527,6083886,695
Laptop1,17926,4622946,608
Shoe1,69330,5154237,859

Evaluation Dataset:

Data Collection Method by dataset:

  • Automatic/Sensors

Labeling Method by dataset:

  • Human

Properties:

  • Evaluated using approximately 46,000 test samples from the training dataset. These frames, originally high-resolution images of 600x800 pixels, were resized to 512x512 pixels before being processed by the CenterPose model.

Methodology and KPI

Accuracy was determined using a 3D intersection-over-union (IoU) criterion with a threshold greater than 0.5. The 2D MPE (mean pixel projection error) metric calculates the average normalized distance between the projections of 3D bounding box keypoints from both the estimated and ground truth poses. For viewpoint estimation, the average precision (AP) is presented for azimuth and elevation with thresholds of 15° and 10° degrees, respectively.

For symmetric object categories, like bottles, the estimated bounding box is rotated around the symmetry axis N times (where N = 100) and assessed the prediction in relation to each rotated instance. The results reflect the instance that either maximizes the 3D IoU or minimizes the 2D pixel projection error.

For evaluation purposes, frames are exctacted by temporally downsampling the original videos to 15 fps. Evaluation data key performance indicators (KPIs) are provided in the following table. The evaluation of the pretrained models was based on FP32 precision.

CategoryBackbone Architecture3D IoU ↑2D MPE ↓AP @ 15° Azimuth Error ↑AP @ 10° Elevation Error ↑
BikeDLA340.54200.09150.81920.8512
BookDLA340.45530.07550.64660.7831
BottleDLA340.73060.04190.95100.8133
CameraDLA340.68140.06020.73950.7801
Cereal BoxDLA340.74910.04550.89390.9065
ChairDLA340.82000.06040.81400.8579
LaptopDLA340.71940.05250.85100.7623
ShoeDLA340.62280.04670.60160.6881
BikeFAN-Small-Hybrid0.65050.09210.90330.9527
BookFAN-Small-Hybrid0.57680.06650.75840.8783
BottleFAN-Small-Hybrid0.81980.04100.97960.9072
CameraFAN-Small-Hybrid0.73360.05580.82340.8604
Cereal BoxFAN-Small-Hybrid0.82030.03930.92100.9420
ChairFAN-Small-Hybrid0.86030.05360.86100.9252
LaptopFAN-Small-Hybrid0.75250.04810.90570.8143
ShoeFAN-Small-Hybrid0.67180.04450.69680.8151

Inference:

Engine: Tensor(RT)
Test Hardware:

  • Jetson AGX Xavier
  • Xavier NX
  • Orin
  • Orin NX
  • NVIDIA T4
  • Ampere GPU
  • A2
  • A30
  • L4
  • T4
  • DGX H100
  • DGX A100
  • DGX H100
  • L40
  • JAO 64GB
  • Orin NX16GB
  • Orin Nano 8GB

The inference performance of the provided CenterPose model is evaluated at FP16 and FP32 precisions. The model's input resolution is 512x512 pixels. The performance assessment was conducted using trtexec on a range of devices including: Orin Nano 8GB, Orin NX 16GB, Jetson AGX Orin 64GB, A2, A30, A100, H100, L4, L40, and Tesla T4. In the table, "BS" stands for "batch size."

The performance data presented pertains solely to model inference. The end-to-end performance, when integrated with streaming video data and the post-processing, might vary slightly due to potential bottlenecks in hardware and software.

Models (FP16)DevicesLatency ↓ (ms, BS=1)Images per Second ↑ (BS=1)Latency ↓ (ms, BS=8)Images per Second ↑ (BS=8)
CenterPose - DLA34Orin Nano 8GB52.1919.16167.85 (BS=4)23.83 (BS=4)
CenterPose - DLA34Orin NX 16GB36.0527.74115.91 (BS=4)34.51 (BS=4)
CenterPose - DLA34AGX Orin 64GB17.5357.0489.2889.60
CenterPose - DLA34A263.7515.69121.5965.79
CenterPose - DLA34A3017.4057.4628.39281.76
CenterPose - DLA34A10012.1782.1617.38460.24
CenterPose - DLA34H1009.45105.8412.23654.23
CenterPose - DLA34L424.5840.6847.44168.62
CenterPose - DLA34L409.37106.7016.65480.62
CenterPose - DLA34Tesla T441.2024.2775.96105.32
CenterPose - FAN-Small-HybridOrin Nano 8GB125.947.94482.63 (BS=4)8.29 (BS=4)
CenterPose - FAN-Small-HybridOrin NX 16GB88.1211.35333.54 (BS=4)11.99 (BS=4)
CenterPose - FAN-Small-HybridAGX Orin 64GB35.6828.03262.8030.44
CenterPose - FAN-Small-HybridA2172.555.80315.3525.37
CenterPose - FAN-Small-HybridA3037.4126.7363.66125.66
CenterPose - FAN-Small-HybridA10020.0149.9932.30247.64
CenterPose - FAN-Small-HybridH10013.1176.2619.48410.74
CenterPose - FAN-Small-HybridL453.5218.69111.7071.62
CenterPose - FAN-Small-HybridL4017.6556.6536.43219.60
CenterPose - FAN-Small-HybridTesla T4102.339.77187.6342.64
Models (FP32)DevicesLatency ↓ (ms, BS=1)Images per Second ↑ (BS=1)Latency ↓ (ms, BS=8)Images per Second ↑ (BS=8)
CenterPose - DLA34Orin Nano 8GB80.8112.37277.50 (BS=4)14.41 (BS=4)
CenterPose - DLA34Orin NX 16GB55.6717.96192.77 (BS=4)20.75 (BS=4)
CenterPose - DLA34AGX Orin 64GB25.3639.44150.9852.99
CenterPose - DLA34A2155.436.43307.1126.05
CenterPose - DLA34A3040.8324.4974.51107.37
CenterPose - DLA34A10025.1739.7441.79191.44
CenterPose - DLA34H10016.2861.4225.00320.03
CenterPose - DLA34L449.9920.0097.3882.15
CenterPose - DLA34L4018.6453.6333.47239.01
CenterPose - DLA34Tesla T4101.429.86188.2342.50
CenterPose - FAN-Small-HybridOrin Nano 8GB208.254.80832.21 (BS=4)4.81 (BS=4)
CenterPose - FAN-Small-HybridOrin NX 16GB144.806.91572.54 (BS=4)6.99 (BS=4)
CenterPose - FAN-Small-HybridAGX Orin 64GB60.2916.59494.8616.17
CenterPose - FAN-Small-HybridA2450.282.22872.879.17
CenterPose - FAN-Small-HybridA30113.688.80215.1237.19
CenterPose - FAN-Small-HybridA10058.6217.06109.1373.31
CenterPose - FAN-Small-HybridH10030.9032.3654.41147.02
CenterPose - FAN-Small-HybridL4149.666.68309.3225.86
CenterPose - FAN-Small-HybridL4053.0218.86108.9173.46
CenterPose - FAN-Small-HybridTesla T4294.143.40579.5713.80

How to Use This Model

These models are designed for use with NVIDIA hardware and software. For hardware, the models are compatible with any NVIDIA GPU, including NVIDIA Jetson devices. For software, the models are specifically designed for the Train Adapt Optimize (TAO) Toolkit, or TensorRT.

The primary application of these models is to estimate an object's pose from a single RGB image. They can identify the objects in photos, given the right image decoding and pre-processing procedures.

For training, the models are intended for use with the Train Adapt Optimize (TAO) Toolkit and the your dataset. It's possible to train high-fidelity models tailored to new use cases. The Jupyter Notebook, which is included in the TAO Container, can be used for re-training.

Furthermore, these models are designed for deployment to edge devices using the TensorRT. TAO Triton apps offers capabilities to construct efficient image analytic pipelines. These pipelines can capture, decode, and pre-process data before executing inference.

Instructions to Deploy the Model with TAO-Deploy

To use these models for object pose estimation, see the following YAML as a template for the dataset and inference sections of the experiment spec file when testing the images.

  • Convert the pretrained ONNX models into a TRT engine using TensorRT.
  • Set up the engine file path and configure the correct intrinsic matrix in the experiment spec file.
  • Run the TAO-Deploy inference pipeline to get the visualization results.
  • Note: The CenterPose model with FAN-Small-Hybrid only supports the FP16 when the TensorRT version >= 8.6.

For more information on the experiment spec file and usage instruction, see the TAO Toolkit User Guide.

dataset:
  inference_data: /path/to/inference/images/folder
  num_classes: 1
  batch_size: 1
  workers: 4

inference:
  trt_engine: /path/to/engine.trt
  visualization_threshold: 0.3
  principle_point_x: 298.3
  principle_point_y: 392.1
  focal_length_x: 651.2
  focal_length_y: 651.2
  skew: 0.0
  axis_size: 0.5
  use_pnp: True
  save_json: True
  save_visualization: True
  opencv: True

Instructions to Deploy the Model with Triton Inference Server

To create the entire end-to-end inference application, deploy this model with Triton Inference Server. NVIDIA Triton Inference Server is an open-source inference serving software that helps standardize model deployment and execution and delivers fast and scalable AI in production. Triton supports direct integration of this model into the server and inference from a client.

To deploy this model with Triton Inference Server and end-to-end inference from images, please refer to the TAO Triton apps.

Technical Blogs

Suggested Reading

Ethical Considerations:

The NVIDIA CenterPose model estimates the object pose. However, no additional information such as people and other distractors in the background are inferred. The training and evaluation dataset mostly consists of North American content. An ideal training and evaluation dataset would additionally include content from other geographies. NVIDIA’s platforms and application frameworks enable developers to build a wide array of AI applications. Consider potential algorithmic bias when choosing or creating the models being deployed.

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse. For more detailed information on ethical considerations for this model, please see the Model Card++ Promise and the Explainability, Bias, Safety & Security, and Privacy Subcards.

Publisher
-
Latest Versiondeployable_dla34
UpdatedNovember 12, 2024 UTC
Compressed Size70.16 MB