Skip to content

get-dataset-coco2014

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

Category: AI/ML datasets

License: Apache 2.0

  • CM meta description for this script: _cm.yaml
  • 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 coco2014 object-detection original" --help

Run this script

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

r = cmind.access({'action':'run'
              'automation':'script',
              'tags':'get,dataset,coco2014,object-detection,original'
              '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 coco2014 object-detection original[variations]" 

Variations

  • Group "annotations"

    Click here to expand this section.

    • _custom-annotations
      • ENV variables:
        • CM_DATASET_COCO2014_CUSTOM_ANNOTATIONS: yes
    • _default-annotations (default)
      • ENV variables:
        • CM_DATASET_COCO2014_CUSTOM_ANNOTATIONS: no
  • Group "dataset-type"

    Click here to expand this section.

    • _calibration
      • ENV variables:
        • CM_DATASET_CALIBRATION: yes
    • _validation (default)
      • ENV variables:
        • CM_DATASET_CALIBRATION: no
  • Group "size"

    Click here to expand this section.

    • _50 (default)
      • ENV variables:
        • CM_DATASET_SIZE: 50
    • _500
      • ENV variables:
        • CM_DATASET_SIZE: 500
    • _full
      • ENV variables:
        • CM_DATASET_SIZE: ``
    • _size.#
      • ENV variables:
        • CM_DATASET_SIZE: #
Default variations

_50,_default-annotations,_validation

Default environment

These keys can be updated via --env.KEY=VALUE or env dictionary in @input.json or using script flags.

  • CM_DATASET_CALIBRATION: no

Native script being run


Script output

cmr "get dataset coco2014 object-detection original [variations]"  -j