Click here to see the table of contents.
Note that this README is automatically generated - don't edit! See more info.
See more info.
- Category: Modular ML/AI applications.
- CM GitHub repository: mlcommons@ck
- GitHub directory for this script: GitHub
- CM meta description for this script: _cm.json
- CM "database" tags to find this script: app,image-classification,torch,python
- Output cached?: False
cm pull repo mlcommons@ck
cm run script --help
-
cm run script --tags=app,image-classification,torch,python[,variations]
-
cm run script "app image-classification torch python[,variations]"
-
cm run script e3986ae887b84ca8
Click here to expand this section.
import cmind
r = cmind.access({'action':'run'
'automation':'script',
'tags':'app,image-classification,torch,python'
'out':'con',
...
(other input keys for this script)
...
})
if r['return']>0:
print (r['error'])
cm run script --tags=gui --script="app,image-classification,torch,python"
Use this online GUI to generate CM CMD.
TBD
-
No group (any variation can be selected)
Click here to expand this section.
_cuda
- Environment variables:
- USE_CUDA:
yes
- USE_CUDA:
- Workflow:
- Read "deps" on other CM scripts
- get,cuda
- CM script: get-cuda
- get,cuda
- Read "deps" on other CM scripts
- Environment variables:
Click here to expand this section.
These keys can be updated via --env.KEY=VALUE
or env
dictionary in @input.json
or using script flags.
- CM_BATCH_COUNT:
1
- CM_BATCH_SIZE:
1
Click here to expand this section.
- Read "deps" on other CM scripts from meta
- detect,os
- CM script: detect-os
- get,sys-utils-cm
- CM script: get-sys-utils-cm
- get,python3
- CM names:
--adr.['python', 'python3']...
- CM script: get-python3
- CM names:
- get,dataset,imagenet,image-classification,preprocessed
- CM script: get-preprocessed-dataset-imagenet
- get,dataset-aux,imagenet-aux,image-classification
- CM script: get-dataset-imagenet-aux
- get,imagenet-helper
- CM script: get-dataset-imagenet-helper
- get,ml-model,image-classification,resnet50,_pytorch,_fp32
- CM script: get-ml-model-resnet50
- CM script: get-ml-model-resnet50-tvm
- get,generic-python-lib,_torch
if (USE_CUDA != yes)
- CM script: get-generic-python-lib
- get,generic-python-lib,_torch_cuda
if (USE_CUDA == yes)
- CM script: get-generic-python-lib
- get,generic-python-lib,_torchvision
if (USE_CUDA != yes)
- CM script: get-generic-python-lib
- get,generic-python-lib,_torchvision_cuda
if (USE_CUDA == yes)
- CM script: get-generic-python-lib
- detect,os
- Run "preprocess" function from customize.py
- Read "prehook_deps" on other CM scripts from meta
- Run native script if exists
- Read "posthook_deps" on other CM scripts from meta
- Run "postrocess" function from customize.py
- Read "post_deps" on other CM scripts from meta