kamangir
commited on
Commit
•
6801348
1
Parent(s):
175ea43
validating fashion_mnist train - kamangir/bolt#692
Browse files- image_classifier/__init__.py +1 -1
- image_classifier/classes.py +11 -15
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.76"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|
image_classifier/classes.py
CHANGED
@@ -121,13 +121,11 @@ class Image_Classifier(object):
|
|
121 |
cm,
|
122 |
self.class_names,
|
123 |
f"{output_path}/image_classifier/model/confusion_matrix.jpg",
|
124 |
-
|
125 |
-
"
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
"footer": self.signature(prediction_time),
|
130 |
-
},
|
131 |
):
|
132 |
return False
|
133 |
|
@@ -145,14 +143,12 @@ class Image_Classifier(object):
|
|
145 |
distribution,
|
146 |
self.class_names,
|
147 |
f"{output_path}/image_classifier/model/label_distribution.jpg",
|
148 |
-
|
149 |
-
"
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
"title": "distribution of test_labels",
|
155 |
-
},
|
156 |
):
|
157 |
return False
|
158 |
|
|
|
121 |
cm,
|
122 |
self.class_names,
|
123 |
f"{output_path}/image_classifier/model/confusion_matrix.jpg",
|
124 |
+
header=[
|
125 |
+
" | ".join(host.signature()),
|
126 |
+
" | ".join(objects.signature()),
|
127 |
+
],
|
128 |
+
footer=self.signature(prediction_time),
|
|
|
|
|
129 |
):
|
130 |
return False
|
131 |
|
|
|
143 |
distribution,
|
144 |
self.class_names,
|
145 |
f"{output_path}/image_classifier/model/label_distribution.jpg",
|
146 |
+
header=[
|
147 |
+
" | ".join(host.signature()),
|
148 |
+
" | ".join(objects.signature()),
|
149 |
+
],
|
150 |
+
footer=self.signature(prediction_time),
|
151 |
+
title="distribution of test_labels",
|
|
|
|
|
152 |
):
|
153 |
return False
|
154 |
|