kamangir commited on
Commit
00d97d7
·
1 Parent(s): 866852a

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

Browse files
abcli/image_classifier.sh CHANGED
@@ -31,13 +31,13 @@ function abcli_image_classifier() {
31
  fi
32
 
33
  if [ "$task" == "describe" ] ; then
34
- local model_object_name="$2"
35
 
36
- abcli_download $model_object_name
37
 
38
  python3 -m image_classifier \
39
  describe \
40
- --model_path $abcli_object_root/$model_object_name \
41
  ${@:3}
42
 
43
  return
 
31
  fi
32
 
33
  if [ "$task" == "describe" ] ; then
34
+ local model_object=$(abcli_clarify_object "$2" $abcli_object_name)
35
 
36
+ abcli_download $model_object
37
 
38
  python3 -m image_classifier \
39
  describe \
40
+ --model_path $abcli_object_root/$model_object \
41
  ${@:3}
42
 
43
  return
image_classifier/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
  name = "image_classifier"
2
 
3
- version = "1.1.161"
4
 
5
  description = "fashion-mnist + hugging-face + awesome-bash-cli"
 
1
  name = "image_classifier"
2
 
3
+ version = "1.1.162"
4
 
5
  description = "fashion-mnist + hugging-face + awesome-bash-cli"