kamangir
commited on
Commit
•
a1e08a0
1
Parent(s):
dc58ce3
validating single image predict for fashion_mnist - kamangir/bolt#692
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.151"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|
image_classifier/classes.py
CHANGED
@@ -314,6 +314,7 @@ class Image_Classifier(object):
|
|
314 |
@staticmethod
|
315 |
def train(data_path, model_path, color=False, convnet=True, epochs=10):
|
316 |
classifier = Image_Classifier()
|
|
|
317 |
classifier.params["convnet"] = convnet
|
318 |
|
319 |
logger.info(
|
|
|
314 |
@staticmethod
|
315 |
def train(data_path, model_path, color=False, convnet=True, epochs=10):
|
316 |
classifier = Image_Classifier()
|
317 |
+
classifier.params["color"] = color
|
318 |
classifier.params["convnet"] = convnet
|
319 |
|
320 |
logger.info(
|