kamangir
commited on
Commit
•
b0d3cf4
1
Parent(s):
bb165c2
validating fashion_mnist predict - kamangir/bolt#692
Browse files- abcli/fashion_mnist.sh +4 -1
- image_classifier/__init__.py +1 -1
abcli/fashion_mnist.sh
CHANGED
@@ -35,11 +35,14 @@ function abcli_fashion_mnist() {
|
|
35 |
fi
|
36 |
|
37 |
if [ "$task" == "predict" ] ; then
|
|
|
|
|
38 |
abcli_huggingface predict \
|
39 |
image-classifier \
|
40 |
-
$
|
41 |
$(abcli_clarify_arg "$3" fashion-mnist) \
|
42 |
${@:4}
|
|
|
43 |
return
|
44 |
fi
|
45 |
|
|
|
35 |
fi
|
36 |
|
37 |
if [ "$task" == "predict" ] ; then
|
38 |
+
local data_object=$(abcli_clarify_object "$2" $abcli_object_name)
|
39 |
+
|
40 |
abcli_huggingface predict \
|
41 |
image-classifier \
|
42 |
+
$data_object \
|
43 |
$(abcli_clarify_arg "$3" fashion-mnist) \
|
44 |
${@:4}
|
45 |
+
|
46 |
return
|
47 |
fi
|
48 |
|
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.123"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|