Default image (based on Centos 7 latest)
Stable image (based on Centos 7.6.1810, no updates)
NB: You may need to run commands below with sudo
, unless you
manage Docker as a non-root user.
$ docker pull ctuning/image-classification-tflite.centos-7
$ ck build docker:image-classification-tflite.centos-7
NB: Equivalent to:
$ cd `ck find docker:image-classification-tflite.centos-7`
$ docker build -f Dockerfile -t ctuning/image-classification-tflite.centos-7 .
$ ck run docker:image-classification-tflite.centos-7
NB: Equivalent to:
$ docker run --rm ctuning/image-classification-tflite.centos-7 \
"ck run program:image-classification-tflite --dep_add_tags.weights=mobilenet,non-quantized --env.CK_BATCH_COUNT=2"
$ docker run --rm ctuning/image-classification-tflite.centos-7 \
"ck run program:image-classification-tflite --dep_add_tags.weights=resnet,no-argmax --env.CK_BATCH_COUNT=10"
$ docker run -it --rm ctuning/image-classification-tflite.centos-7 bash
$ cd `ck find docker:image-classification-tflite.centos-7`
$ docker build -f Dockerfile.stable -t ctuning/image-classification-tflite.centos-7.stable .
$ docker run --rm ctuning/image-classification-tflite.centos-7.stable \
"ck run program:image-classification-tflite --dep_add_tags.weights=mobilenet,non-quantized --env.CK_BATCH_COUNT=2"
$ docker run --rm ctuning/image-classification-tflite.centos-7.stable \
"ck run program:image-classification-tflite --dep_add_tags.weights=resnet,no-argmax --env.CK_BATCH_COUNT=10"
$ docker run -it --rm ctuning/image-classification-tflite.centos-7.stable bash