NB: You may need to run commands below with sudo
, unless you
manage Docker as a non-root user.
$ docker pull ctuning/image-classification-tf-cpp.debian-9
$ ck build docker:image-classification-tf-cpp.debian-9
NB: Equivalent to:
$ cd `ck find docker:image-classification-tf-cpp.debian-9`
$ docker build -f Dockerfile -t ctuning/image-classification-tf-cpp.debian-9 .
$ ck run docker:image-classification-tf-cpp.debian-9
NB: Equivalent to:
$ docker run --rm ctuning/image-classification-tf-cpp.debian-9 \
"ck run program:image-classification-tf-cpp --dep_add_tags.weights=mobilenet,non-quantized --env.CK_BATCH_COUNT=2"
$ docker run --rm ctuning/image-classification-tf-cpp.debian-9 \
"ck run program:image-classification-tf-cpp --dep_add_tags.weights=resnet --env.CK_BATCH_COUNT=10"
$ docker run -it --rm ctuning/image-classification-tf-cpp.debian-9 bash