kamangir
commited on
Commit
•
513b119
1
Parent(s):
a16d797
validating train - kamangir/bolt#689
Browse files- abcli/fashion_mnist.sh +1 -2
- abcli/image_classifier.sh +4 -1
- fashion_mnist/__init__.py +1 -1
abcli/fashion_mnist.sh
CHANGED
@@ -41,8 +41,7 @@ function fashion_mnist() {
|
|
41 |
abcli_select $model_object ~trail
|
42 |
abcli_image_classifier_train \
|
43 |
$data_object \
|
44 |
-
|
45 |
-
--convnet 0 \
|
46 |
${@:2}
|
47 |
|
48 |
return
|
|
|
41 |
abcli_select $model_object ~trail
|
42 |
abcli_image_classifier_train \
|
43 |
$data_object \
|
44 |
+
~color,~convnet \
|
|
|
45 |
${@:2}
|
46 |
|
47 |
return
|
abcli/image_classifier.sh
CHANGED
@@ -75,6 +75,8 @@ function abcli_image_classifier_train() {
|
|
75 |
abcli_download object $data_object
|
76 |
|
77 |
local options=$2
|
|
|
|
|
78 |
local do_validate=$(abcli_option_int "$options" "validate" 0)
|
79 |
|
80 |
local extra_args=""
|
@@ -84,7 +86,8 @@ function abcli_image_classifier_train() {
|
|
84 |
|
85 |
python3 -m fashion_mnist.image_classifier \
|
86 |
train \
|
87 |
-
--color
|
|
|
88 |
--data_path $abcli_object_root/$data_object \
|
89 |
--model_path $abcli_object_path \
|
90 |
$extra_args \
|
|
|
75 |
abcli_download object $data_object
|
76 |
|
77 |
local options=$2
|
78 |
+
local do_color=$(abcli_option_int "$options" "color" 0)
|
79 |
+
local do_convnet=$(abcli_option_int "$options" "convnet" 0)
|
80 |
local do_validate=$(abcli_option_int "$options" "validate" 0)
|
81 |
|
82 |
local extra_args=""
|
|
|
86 |
|
87 |
python3 -m fashion_mnist.image_classifier \
|
88 |
train \
|
89 |
+
--color $do_color \
|
90 |
+
--convnet $do_convnet \
|
91 |
--data_path $abcli_object_root/$data_object \
|
92 |
--model_path $abcli_object_path \
|
93 |
$extra_args \
|
fashion_mnist/__init__.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
name = "fashion_mnist"
|
2 |
|
3 |
-
version = "1.1.
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|
|
|
1 |
name = "fashion_mnist"
|
2 |
|
3 |
+
version = "1.1.38"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|