kamangir
commited on
Commit
•
4764e60
1
Parent(s):
63b0414
validating single image predict for fashion_mnist - kamangir/bolt#692
Browse files- abcli/fashion_mnist.sh +4 -2
- image_classifier/__init__.py +1 -1
abcli/fashion_mnist.sh
CHANGED
@@ -47,11 +47,13 @@ function abcli_fashion_mnist() {
|
|
47 |
abcli_select $output_object ~trail
|
48 |
fi
|
49 |
|
50 |
-
local model_name=$3
|
|
|
|
|
51 |
|
52 |
abcli_image_classifier predict \
|
53 |
$data_object \
|
54 |
-
$
|
55 |
${@:4}
|
56 |
|
57 |
abcli_tag set . fashion_mnist
|
|
|
47 |
abcli_select $output_object ~trail
|
48 |
fi
|
49 |
|
50 |
+
local model_name=$(abcli_clarify_arg "$3" fashion-mnist)
|
51 |
+
|
52 |
+
abcli_log "fashion_mnist($model_name).predict($data_object)"
|
53 |
|
54 |
abcli_image_classifier predict \
|
55 |
$data_object \
|
56 |
+
$model_name \
|
57 |
${@:4}
|
58 |
|
59 |
abcli_tag set . fashion_mnist
|
image_classifier/__init__.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
name = "image_classifier"
|
2 |
|
3 |
-
version = "1.1.
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|
|
|
1 |
name = "image_classifier"
|
2 |
|
3 |
+
version = "1.1.137"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|