kamangir
commited on
Commit
•
4e5cc90
1
Parent(s):
a1a8891
validating fashion_mnist train - kamangir/bolt#689
Browse files
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.66"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|
image_classifier/classes.py
CHANGED
@@ -155,7 +155,9 @@ class Image_Classifier(object):
|
|
155 |
max_index = test_images.shape[0]
|
156 |
if page_count != -1:
|
157 |
max_index = min(24 * page_count, max_index)
|
158 |
-
logger.info(
|
|
|
|
|
159 |
for index in tqdm(range(0, max_index, 24)):
|
160 |
self.render(
|
161 |
predictions[index : index + 24],
|
|
|
155 |
max_index = test_images.shape[0]
|
156 |
if page_count != -1:
|
157 |
max_index = min(24 * page_count, max_index)
|
158 |
+
logger.info(
|
159 |
+
f"image_classifier.predict(): rendering {max_index / 24} frame(s)..."
|
160 |
+
)
|
161 |
for index in tqdm(range(0, max_index, 24)):
|
162 |
self.render(
|
163 |
predictions[index : index + 24],
|