NB: You may need to run commands below with sudo
, unless you
manage Docker as a non-root user.
$ docker pull ctuning/object-detection-armnn-tflite.debian-9
$ 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 .
$ 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
--------------------------------
$ 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
--------------------------------
$ docker run -it --rm ctuning/object-detection-armnn-tflite.debian-9 bash