tao-generate-referring-expressions

Generate region descriptions, scene captions, and referring expressions from images and KITTI labels.

83|20|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/NVIDIA-TAO/tao-skill-bank --skill tao-generate-referring-expressions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tao-generate-referring-expressions
Source: https://github.com/NVIDIA-TAO/tao-skill-bank/tree/main/skills/data/tao-generate-referring-expressions
Command: npx skills add https://github.com/NVIDIA-TAO/tao-skill-bank --skill tao-generate-referring-expressions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nvcr.io/nvidia/tao/tao-toolkit:6.26.3-pyt, GOOGLE_API_KEY, base_url, model_name, api_key, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a pipeline for creating region descriptions, scene captions, and referring expressions from images and KITTI bounding-box labels, enabling advanced image annotation and scene understanding.

Core Features & Use Cases

  • Image Referring Expression Pipeline: Integrates image input and KITTI labels to generate region descriptions, scene captions, and referring expressions.
  • Use Case: Ideal for developers and engineers in autonomous driving or scene-understanding datasets, who need to generate referring-expression annotations for training and evaluation.

Quick Start

Run the image referring expression pipeline with the following command:

auto_label generate -e /path/to/spec.yaml \
    results_dir=/results \
    image_referring_expression.data.image_dir=/data/images \
    image_referring_expression.data.kitti_label_dir=/data/labels \
    image_referring_expression.vlm.gemini.api_key=$GOOGLE_API_KEY

Frequently Asked Questions about tao-generate-referring-expressions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate referring expressions from images and KITTI labels?

You can generate referring expressions by running the auto_label generate command with a spec YAML file, specifying the image directory, KITTI label directory, and a VLM API key to automate the annotation pipeline.

What are referring expressions in autonomous driving scene understanding?

Referring expressions in autonomous driving scene understanding are natural language phrases that uniquely identify specific objects or regions within an image, generated from visual data and KITTI bounding box coordinates for training datasets.

Do I need a VLM endpoint to generate scene captions from KITTI labels?

Yes, a VLM endpoint is required to generate scene captions from KITTI labels. The pipeline relies on a vision language model like Gemini or an OpenAI-compatible server to analyze images and produce text descriptions.

Can I use OpenAI-compatible servers instead of Gemini for image annotation?

Yes, you can use OpenAI-compatible servers instead of Gemini for image annotation. The pipeline supports OpenAI-compatible VLM endpoints by configuring the base_url, model_name, and api_key parameters in the specification file.

What's the best way to automate region description generation for autonomous driving datasets?

The best way to automate region description generation for autonomous driving datasets is using a pipeline that integrates KITTI bounding-box labels with a VLM endpoint to process images and output structured scene captions and referring expressions.