kamangir commited on
Commit
ae2fd3d
1 Parent(s): 5a03c27

validating single image predict for fashion_mnist - kamangir/bolt#692

Browse files
abcli/fashion_mnist.sh CHANGED
@@ -37,6 +37,16 @@ function abcli_fashion_mnist() {
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 \
 
37
  if [ "$task" == "predict" ] ; then
38
  local data_object=$(abcli_clarify_object "$2" $abcli_object_name)
39
 
40
+ if [ "$(abcli_keyword_is $data_object validate)" == true ] ; then
41
+ local output_object=$abcli_object_name
42
+
43
+ abcli_select - ~trail
44
+ abcli_fashion_mnist ingest
45
+ local $data_object=$abcli_object_name
46
+
47
+ abcli_select $output_object ~trail
48
+ return
49
+
50
  abcli_huggingface predict \
51
  image-classifier \
52
  $data_object \
image_classifier/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
  name = "image_classifier"
2
 
3
- version = "1.1.126"
4
 
5
  description = "fashion-mnist + hugging-face + awesome-bash-cli"
 
1
  name = "image_classifier"
2
 
3
+ version = "1.1.127"
4
 
5
  description = "fashion-mnist + hugging-face + awesome-bash-cli"