Join the public MLCommons taskforce to participate in the collaborative development of the next generation of this open-source technology!
docker:object-detection-armnn-tflite.debian-9 (v1.0.0)
Creation date: 2019-06-03
Source: GitHub
cID: 88eef0cd8c43b68a:3d2e00584c41f4b9

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 CK-powered container is our attempt to provide a common API to customize, build and run AI and ML applications with different models, frameworks, libraries, datasets, compilers, formats, backends and platforms. 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!

ReadMe  

MLPerf Inference - Object Detection - ArmNN-TFLite (Debian 9)

  1. Default image (based on Debian 9 latest)

NB: You may need to run commands below with sudo, unless you manage Docker as a non-root user.

Default image

Download

$ docker pull ctuning/object-detection-armnn-tflite.debian-9

Build

$ ck build docker:object-detection-armnn-tflite.debian-9

NB: Equivalent to:

$ cd `ck find docker:object-detection-armnn-tflite.debian-9`
$ docker build -f Dockerfile -t ctuning/object-detection-armnn-tflite.debian-9 .

Run

Object Detection (default command)

Regular NMS; 50 images
$ ck run docker:object-detection-armnn-tflite.debian-9

NB: Equivalent to:

$ docker run --rm ctuning/object-detection-armnn-tflite.debian-9 \
    "ck run program:object-detection-armnn-tflite \
        --dep_add_tags.weights=ssd-mobilenet,non-quantized --env.USE_NMS=regular \
        --dep_add_tags.dataset=coco.2017,first.50 --env.CK_BATCH_COUNT=50 \
    "
...
Summary:
-------------------------------
All images loaded in 0.138678s
Average image load time: 0.002774s
All images detected in 1283.481567s
Average detection time: 25.633888s
mAP: 0.2973506730812673
Recall: 0.3064842506013031
--------------------------------

Object Detection (custom command)

Fast NMS; 50 images
$ docker run --rm ctuning/object-detection-armnn-tflite.debian-9 \
    "ck run program:object-detection-armnn-tflite \
        --dep_add_tags.weights=ssd-mobilenet,non-quantized --env.USE_NMS=fast \
        --dep_add_tags.dataset=coco.2017,first.50 --env.CK_BATCH_COUNT=50 \
    "
...
Summary:
-------------------------------
All images loaded in 0.136716s
Average image load time: 0.002734s
All images detected in 1231.462524s
Average detection time: 24.573481s
mAP: 0.29687329696309245
Recall: 0.30644766969653536
--------------------------------

Bash

$ docker run -it --rm ctuning/object-detection-armnn-tflite.debian-9 bash

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!