kamangir
commited on
Commit
·
facd347
1
Parent(s):
175dac5
releasing fashion_mnist - kamangir/bolt#692
Browse files- abcli/fashion_mnist.sh +4 -5
- abcli/image_classifier.sh +2 -2
- image_classifier/__init__.py +1 -1
abcli/fashion_mnist.sh
CHANGED
@@ -12,8 +12,8 @@ function abcli_fashion_mnist() {
|
|
12 |
"ingest fashion_mnist data."
|
13 |
abcli_help_line "fashion_mnist predict object_1" \
|
14 |
"run fashion_mnist model object_1 predict."
|
15 |
-
abcli_help_line "fashion_mnist
|
16 |
-
"release fashion_mnist as
|
17 |
abcli_help_line "fashion_mnist train [validate]" \
|
18 |
"train fashion_mnist [for validation]."
|
19 |
|
@@ -40,10 +40,9 @@ function abcli_fashion_mnist() {
|
|
40 |
return
|
41 |
fi
|
42 |
|
43 |
-
if [ "$task" == "
|
44 |
local model_name=$(abcli_clarify_arg "$2" fashion-mnist)
|
45 |
-
|
46 |
-
abcli_huggingface release image-classifier $model_name ${@:3}
|
47 |
return
|
48 |
fi
|
49 |
|
|
|
12 |
"ingest fashion_mnist data."
|
13 |
abcli_help_line "fashion_mnist predict object_1" \
|
14 |
"run fashion_mnist model object_1 predict."
|
15 |
+
abcli_help_line "fashion_mnist save name_1 object_1 [force,init]" \
|
16 |
+
"[int and] [force] release fashion_mnist in object_1 as name_1."
|
17 |
abcli_help_line "fashion_mnist train [validate]" \
|
18 |
"train fashion_mnist [for validation]."
|
19 |
|
|
|
40 |
return
|
41 |
fi
|
42 |
|
43 |
+
if [ "$task" == "save" ] ; then
|
44 |
local model_name=$(abcli_clarify_arg "$2" fashion-mnist)
|
45 |
+
abcli_huggingface save image-classifier $model_name ${@:3}
|
|
|
46 |
return
|
47 |
fi
|
48 |
|
abcli/image_classifier.sh
CHANGED
@@ -14,8 +14,8 @@ function abcli_image_classifier() {
|
|
14 |
"install image_classifier."
|
15 |
abcli_help_line "$abcli_cli_name image_classifier predict object_1 object_2" \
|
16 |
"run image_classifier model object_1 predict on data object_2."
|
17 |
-
abcli_help_line "$abcli_cli_name image_classifier
|
18 |
-
"
|
19 |
abcli_help_line "$abcli_cli_name image_classifier train object_1" \
|
20 |
"train image_classifier on data object_1."
|
21 |
|
|
|
14 |
"install image_classifier."
|
15 |
abcli_help_line "$abcli_cli_name image_classifier predict object_1 object_2" \
|
16 |
"run image_classifier model object_1 predict on data object_2."
|
17 |
+
abcli_help_line "$abcli_cli_name image_classifier save name_1 object_1 [force,init]" \
|
18 |
+
"[init and] [force] save image_classifier in object_1 as name_1."
|
19 |
abcli_help_line "$abcli_cli_name image_classifier train object_1" \
|
20 |
"train image_classifier on data object_1."
|
21 |
|
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.87"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|