Skip to content

Latest commit

 

History

History
 
 

app-ipol-reproducibility-2022-439

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Click here to see the table of contents.

Note that this README is automatically generated - don't edit! See more info.

Description

See more info.

Information

  • Category: Reproduced papers.
  • CM GitHub repository: mlcommons@ck
  • GitHub directory for this script: GitHub
  • CM meta description for this script: _cm.yaml
  • CM "database" tags to find this script: app,python,reproduce,ipol,journal,repro,reproducibility,pytorch,2022-439
  • Output cached?: False

Usage

CM installation

Guide

CM pull repository

cm pull repo mlcommons@ck

CM script automation help

cm run script --help

CM CLI

  1. cm run script --tags=app,python,reproduce,ipol,journal,repro,reproducibility,pytorch,2022-439 [--input_flags]

  2. cm run script "app python reproduce ipol journal repro reproducibility pytorch 2022-439" [--input_flags]

  3. cm run script f9b9e5bd65e34e4f [--input_flags]

  • variations can be seen here

  • input_flags can be seen here

CM Python API

Click here to expand this section.
import cmind

r = cmind.access({'action':'run'
                  'automation':'script',
                  'tags':'app,python,reproduce,ipol,journal,repro,reproducibility,pytorch,2022-439'
                  'out':'con',
                  ...
                  (other input keys for this script)
                  ...
                 })

if r['return']>0:
    print (r['error'])

CM GUI

cm run script --tags=gui --script="app,python,reproduce,ipol,journal,repro,reproducibility,pytorch,2022-439"

Use this online GUI to generate CM CMD.

CM modular Docker container

TBD


Customization

Script flags mapped to environment

Click here to expand this section.
  • --image1=valueCM_IMAGE_1=value
  • --image2=valueCM_IMAGE_2=value

Above CLI flags can be used in the Python CM API as follows:

r=cm.access({... , "image1":...}

Default environment

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.


Script workflow, dependencies and native scripts

Click here to expand this section.
  1. Read "deps" on other CM scripts from meta
    • detect,os
    • get,python3
      • CM names: --adr.['python', 'python3']...
    • get,ipol,src
      • CM names: --adr.['ipol-src']...
    • get,generic-python-lib,_torch
      • CM names: --adr.['torch']...
  2. Run "preprocess" function from customize.py
  3. Read "prehook_deps" on other CM scripts from meta
  4. Run native script if exists
  5. Read "posthook_deps" on other CM scripts from meta
  6. Run "postrocess" function from customize.py
  7. Read "post_deps" on other CM scripts from meta

Script output

New environment keys (filter)

New environment keys auto-detected from customize


Maintainers