kamangir
commited on
Commit
•
456e794
1
Parent(s):
720d5d2
releasing fashion_mnist - kamangir/bolt#692
Browse files- abcli/fashion_mnist.sh +3 -1
- abcli/image_classifier.sh +3 -1
- image_classifier/__init__.py +1 -1
- release/.gitattributes +4 -0
abcli/fashion_mnist.sh
CHANGED
@@ -41,7 +41,9 @@ function abcli_fashion_mnist() {
|
|
41 |
fi
|
42 |
|
43 |
if [ "$task" == "release" ] ; then
|
44 |
-
|
|
|
|
|
45 |
return
|
46 |
fi
|
47 |
|
|
|
41 |
fi
|
42 |
|
43 |
if [ "$task" == "release" ] ; then
|
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 |
|
abcli/image_classifier.sh
CHANGED
@@ -49,7 +49,9 @@ function abcli_image_classifier() {
|
|
49 |
fi
|
50 |
|
51 |
if [ "$task" == "release" ] ; then
|
52 |
-
|
|
|
|
|
53 |
return
|
54 |
fi
|
55 |
|
|
|
49 |
fi
|
50 |
|
51 |
if [ "$task" == "release" ] ; then
|
52 |
+
local model_name=$(abcli_clarify_arg "$2" image-classifier)
|
53 |
+
|
54 |
+
abcli_huggingface release image-classifier $model_name ${@:3}
|
55 |
return
|
56 |
fi
|
57 |
|
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.83"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|
release/.gitattributes
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.pyndarray filter=lfs diff=lfs merge=lfs -text
|