image-classifier / abcli /fashion_mnist.sh
kamangir
setup - kamangir/bolt#689
664a799
raw
history blame
564 Bytes
#! /usr/bin/env bash
function fashion_mnist() {
local task=$(abcli_unpack_keyword $1 help)
if [ $task == "help" ] ; then
abcli_help_line "fashion_mnist task_1" \
"run fashion_mnist task_1."
if [ "$(abcli_keyword_is $2 verbose)" == true ] ; then
python3 -m fashion_mnist --help
fi
return
fi
if [ "$task" == "task_1" ] ; then
python3 -m fashion_mnist \
task_1 \
${@:2}
return
fi
abcli_log_error "-fashion_mnist: $task: command not found."
}