kamangir
commited on
Commit
•
37db9a5
1
Parent(s):
7b0405b
validating fashion_mnist predict - 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.121"
|
4 |
|
5 |
description = "fashion-mnist + hugging-face + awesome-bash-cli"
|
image_classifier/__main__.py
CHANGED
@@ -99,7 +99,7 @@ elif args.task == "predict":
|
|
99 |
logger.info(f"test_images: {string.pretty_shape_of_matrix(test_images)}")
|
100 |
|
101 |
_, test_labels = file.load(
|
102 |
-
"{}/test_labels.pyndarray"
|
103 |
civilized=True,
|
104 |
default=None,
|
105 |
)
|
|
|
99 |
logger.info(f"test_images: {string.pretty_shape_of_matrix(test_images)}")
|
100 |
|
101 |
_, test_labels = file.load(
|
102 |
+
f"{args.data_path}/test_labels.pyndarray",
|
103 |
civilized=True,
|
104 |
default=None,
|
105 |
)
|