kamangir
commited on
Commit
•
7b1258a
1
Parent(s):
30af577
validating fashion_mnist train - 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.79"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|
image_classifier/classes.py
CHANGED
@@ -416,7 +416,7 @@ class Image_Classifier(object):
|
|
416 |
logger.info("test accuracy: {:.4f}".format(test_accuracy))
|
417 |
|
418 |
if not file.save_json(
|
419 |
-
f"{model_path}/image_classifier/model/
|
420 |
{"metrics": {"test_accuracy": test_accuracy}},
|
421 |
):
|
422 |
return False
|
|
|
416 |
logger.info("test accuracy: {:.4f}".format(test_accuracy))
|
417 |
|
418 |
if not file.save_json(
|
419 |
+
f"{model_path}/image_classifier/model/evaluation.json",
|
420 |
{"metrics": {"test_accuracy": test_accuracy}},
|
421 |
):
|
422 |
return False
|