Skip to content

get-dataset-coco

Automatically generated README for this automation recipe: get-dataset-coco

Category: AI/ML datasets

License: Apache 2.0

  • Notes from the authors, contributors and users: README-extra

  • CM meta description for this script: _cm.json

  • Output cached? True

Reuse this script in your project

Install MLCommons CM automation meta-framework

Pull CM repository with this automation recipe (CM script)

cm pull repo mlcommons@cm4mlops

cmr "get dataset object-detection coco" --help

Run this script

Run this script via CLI
cm run script --tags=get,dataset,object-detection,coco[,variations] [--input_flags]
Run this script via CLI (alternative)
cmr "get dataset object-detection coco [variations]" [--input_flags]
Run this script from Python
import cmind

r = cmind.access({'action':'run'
              'automation':'script',
              'tags':'get,dataset,object-detection,coco'
              'out':'con',
              ...
              (other input keys for this script)
              ...
             })

if r['return']>0:
    print (r['error'])
Run this script via Docker (beta)
cm docker script "get dataset object-detection coco[variations]" [--input_flags]

Variations

  • Group "size"

    Click here to expand this section.

    • _complete (default)
      • ENV variables:
        • CM_DATASET_COCO_SIZE: complete
    • _small
      • ENV variables:
        • CM_DATASET_COCO_SIZE: small
  • Group "type"

    Click here to expand this section.

    • _train
      • ENV variables:
        • CM_DATASET_COCO_TYPE: train
    • _val (default)
      • ENV variables:
        • CM_DATASET_COCO_TYPE: val
  • Group "version"

    Click here to expand this section.

    • _2017 (default)
      • ENV variables:
        • CM_DATASET_COCO_VERSION: 2017
Default variations

_2017,_complete,_val

Script flags mapped to environment

  • --from=valueCM_FROM=value
  • --home=valueCM_HOME_DIR=value
  • --store=valueCM_STORE=value
  • --to=valueCM_TO=value

Script output

cmr "get dataset object-detection coco [variations]" [--input_flags] -j