Check the preview of 2nd version of this platform being developed by the open MLCommons taskforce on automation and reproducibility as a free, open-source and technology-agnostic on-prem platform.
program:tensorflow_cc-demo-multibox-detector (v1.0.0)
Creation date: 2017-08-22
Source: GitHub
cID: b0ac08fe1d3c2615:61b01b96cc84f33a

Don't hesitate to get in touch if you encounter any issues or would like to discuss this community project!
Please report if this CK component works: 1  or fails: 0 
Sign up to be notified when artifacts are shared or updated!

Description  

This portable workflow is our attempt to provide a common CLI with Python JSON API and a JSON meta description to automatically detect or install required components (models, data sets, libraries, frameworks, tools), and then build, run, validate, benchmark and auto-tune the associated method (program) across diverse models, datasets, compilers, platforms and environments. Our on-going project is to make the onboarding process as simple as possible via this platform. Please check this CK white paper and don't hesitate to contact us if you have suggestions or feedback!
  • Automation framework: CK
  • Development repository: ck-tensorflow
  • Source: GitHub
  • Available command lines:
    • ck run program:tensorflow_cc-demo-multibox-detector --cmd_key=default (META)
    • ck run program:tensorflow_cc-demo-multibox-detector --cmd_key=image_out (META)
  • Support for host OS: any
  • Support for target OS: any
  • Tags: multibox_detector,tensorflow_cc,tensorflow,example
  • How to get the stable version via the client:
    pip install cbench
    cb download program:tensorflow_cc-demo-multibox-detector --version=1.0.0 --all
    ck run program:tensorflow_cc-demo-multibox-detector
  • How to get the development version:
    pip install ck
    ck pull repo:ck-tensorflow
    ck run program:tensorflow_cc-demo-multibox-detector

  • CLI and Python API: module:program
  • Dependencies    

    ReadMe  

    TensorFlow Object Detection example compiled with TensorFlow_CC

    Downloading the input data

    $ cd `ck find program:tensorflow_cc-demo-multibox-detector`
    $ mkdir -p data/
    $ curl -L "https://raw.githubusercontent.com/tensorflow/tensorflow/master/tensorflow/examples/multibox_detector/data/surfers.jpg" -o data/surfers.jpg
    $ curl -L "https://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip" -o mobile_multibox_v1a.zip
    $ unzip mobile_multibox_v1a.zip -d data/
    $ rm mobile_multibox_v1a.zip
    

    Compiling the example

    $ ck compile program:tensorflow_cc-demo-multibox-detector
    

    Running the example

    $ ck run program:tensorflow_cc-demo-multibox-detector
    ...
      (run ...)
    executing code ...
    2017-08-22 13:14:55.130004: I ../main.cc:287] Tensor<type: uint8 shape: [228,480,3] values: [[158 141 147]]...>
    2017-08-22 13:14:55.130058: I ../main.cc:293] ===== Top 5 Detections ======
    2017-08-22 13:14:55.130094: I ../main.cc:307] Detection 0: L:324.542 T:76.5764 R:373.26 B:214.957 (635) score: 0.267426
    2017-08-22 13:14:55.130119: I ../main.cc:307] Detection 1: L:332.896 T:76.2751 R:372.116 B:204.614 (523) score: 0.245335
    2017-08-22 13:14:55.130141: I ../main.cc:307] Detection 2: L:306.605 T:76.2228 R:371.356 B:217.32 (634) score: 0.21612
    2017-08-22 13:14:55.130163: I ../main.cc:307] Detection 3: L:143.918 T:86.0909 R:187.333 B:195.885 (387) score: 0.171367
    2017-08-22 13:14:55.130184: I ../main.cc:307] Detection 4: L:144.915 T:86.2675 R:185.243 B:165.246 (219) score: 0.169245
    

    Versions  

    Files  

    Comments  

    Please log in to add your comments!
    If you notice any inapropriate content that should not be here, please report us as soon as possible and we will try to remove it within 48 hours!