Datumaro Documentation
  • Getting started
  • Datumaro Design
  • User Manual
    • User Manual
    • User Manual
    • Extending
    • How to control telemetry data collection
    • How to use Datumaro
    • Installation
    • Links
    • Media formats
    • Supported Formats
    • Command Reference
      • Command reference
      • Command reference
      • Checkout
      • Commit
      • Convert datasets
      • Create project
      • Detect dataset format
      • Compare datasets
      • Download datasets
      • Run model inference explanation (explain)
      • Export Datasets
      • Filter datasets
      • Print dataset info
      • Log
      • Merge Datasets
      • Models
      • Patch Datasets
      • Projects
      • Sources
      • Get Project Statistics
      • Status
      • Transform Dataset
      • Utilities
      • Validate Dataset
  • Developer manual
  • Formats
  • Plugins
  • Contribution Guide
  • Release notes
  • CLI
  • Components
  • Plugins
  • Utilities
Datumaro Documentation
  • »
  • User Manual »
  • Command Reference »
  • Print dataset info
  • View page source

Print dataset info

This command outputs high level dataset information such as sample count, categories and subsets.

Usage:

datum info [-h] [--all] [-p PROJECT_DIR] [revpath]

Parameters:

  • <target> (string) - Target dataset revpath. By default, prints info about the joined project dataset.

  • --all - Print all the information: do not fold long lists of labels etc.

  • -p, --project (string) - Directory of the project to operate on (default: current directory).

  • -h, --help - Print the help message and exit.

Examples:

  • Print info about a project dataset: datum info -p test_project/

  • Print info about a COCO-like dataset: datum info path/to/dataset:coco

Sample output:

length: 5000
categories: label
  label:
    count: 80
    labels: person, bicycle, car, motorcycle (and 76 more)
subsets: minival2014
  'minival2014':
    length: 5000
    categories: label
      label:
        count: 80
        labels: person, bicycle, car, motorcycle (and 76 more)
Previous Next

© Copyright 2021, Intel.

Privacy Policy | Terms of Use

Intel technologies may require enabled hardware, software or service activation. // No product or component can be absolutely secure. // Your costs and results may vary. // Performance varies by use, configuration and other factors. // See our complete legal Notices and Disclaimers. // Intel is committed to respecting human rights and avoiding complicity in human rights abuses. See Intel’s Global Human Rights Principles. Intel’s products and software are intended only to be used in applications that do not cause or contribute to a violation of an internationally recognized human right.

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