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.ubuntu-16.04
$ ck build docker:image-classification-tflite.ubuntu-16.04
NB: Equivalent to:
$ cd `ck find docker:image-classification-tflite.ubuntu-16.04`
$ docker build -f Dockerfile -t ctuning/image-classification-tflite.ubuntu-16.04 .
$ ck run docker:image-classification-tflite.ubuntu-16.04
NB: Equivalent to:
$ docker run --rm ctuning/image-classification-tflite.ubuntu-16.04 \
"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.ubuntu-16.04 \
"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.ubuntu-16.04 bash