Skip to content

get-ml-model-using-imagenet-from-model-zoo

Automatically generated README for this automation recipe: get-ml-model-using-imagenet-from-model-zoo

Category: AI/ML models

License: Apache 2.0

  • 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 ml-model model-zoo zoo imagenet image-classification" --help

Run this script

Run this script via CLI
cm run script --tags=get,ml-model,model-zoo,zoo,imagenet,image-classification[,variations] 
Run this script via CLI (alternative)
cmr "get ml-model model-zoo zoo imagenet image-classification [variations]" 
Run this script from Python
import cmind

r = cmind.access({'action':'run'
              'automation':'script',
              'tags':'get,ml-model,model-zoo,zoo,imagenet,image-classification'
              '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 ml-model model-zoo zoo imagenet image-classification[variations]" 

Variations

  • Group "model-source"

    Click here to expand this section.

    • _model.#
    • _model.resnet101-pytorch-base
    • _model.resnet50-pruned95-uniform-quant

Script output

cmr "get ml-model model-zoo zoo imagenet image-classification [variations]"  -j