kamangir commited on
Commit
0d10ea0
1 Parent(s): 4cd3b89

releasing 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.89"
4
 
5
  description = "fashion-mnist + hugging-face + awesome-bash-cli"
 
1
  name = "image_classifier"
2
 
3
+ version = "1.1.91"
4
 
5
  description = "fashion-mnist + hugging-face + awesome-bash-cli"
release/fashion-mnist/2022-07-13-15-53-20-90023 DELETED
@@ -1,39 +0,0 @@
1
- 2022-07-13-15-53-20-90023 selected.
2
- 2022-07-13-15-53-21-53895 selected.
3
- ingesting fashion_mnist
4
- ingested train_images: 60000x28x28:uint8
5
- ingested train_labels: 60000:uint8
6
- ingested test_images: 10000x28x28:uint8
7
- ingested test_labels: 10000:uint8
8
- ingested 10 class name(s): T-shirt/top, Trouser, Pullover, Dress, Coat, Sandal, Shirt, Sneaker, Bag, Ankle boot
9
- 2022-07-13-15-53-21-53895 += #fashion_mnist.
10
- 2022-07-13-15-53-20-90023 selected.
11
- 2022-07-13-15-53-21-53895 selected.
12
- 2022-07-13-15-53-21-53895 open download started.
13
- 2022-07-13-15-53-21-53895 download completed.
14
- 2022-07-13-15-53-20-90023 selected.
15
- image_classifier.train(2022-07-13-15-53-21-53895): ~color,~convnet,validate=1
16
- image_classifier.train(/Users/kamangir/storage/abcli/2022-07-13-15-53-21-53895) -> /Users/kamangir/storage/abcli/2022-07-13-15-53-20-90023
17
- input:28x28
18
- train_images: 60000x28x28:uint8
19
- train_labels: 60000x10:float32
20
- test_images: 10000x28x28:uint8
21
- test_labels: 10000x10:float32
22
- 10 class(es): T-shirt/top, Trouser, Pullover, Dress, Coat, Sandal, Shirt, Sneaker, Bag, Ankle boot
23
- NumExpr defaulting to 8 threads.
24
- test accuracy: 0.8609
25
- Assets written to: /Users/kamangir/storage/abcli/2022-07-13-15-53-20-90023/image_classifier/model/assets
26
- image_classifier.model -> /Users/kamangir/storage/abcli/2022-07-13-15-53-20-90023/image_classifier/model
27
- image_classifier.predict(10000x28x28:float64,10000:int64)-> /Users/kamangir/storage/abcli/2022-07-13-15-53-20-90023
28
- image_classifier.predict(): None / frame
29
- image_classifier.predict(): rendering confusion_matrix...
30
- graphics.render_confusion_matrix(10:10x10:float64) -> /Users/kamangir/storage/abcli/2022-07-13-15-53-20-90023/image_classifier/model/confusion_matrix.jpg
31
- image_classifier.predict(): rendering test_labels distribution...
32
- graphics.render_distribution(10:10:float64) -> /Users/kamangir/storage/abcli/2022-07-13-15-53-20-90023/image_classifier/model/label_distribution.jpg
33
- image_classifier.predict(): rendering 10 sheet(s)...
34
- 2022-07-13-15-53-20-90023 += #image_classifier.
35
- 2022-07-13-15-53-20-90023 += #train.
36
- 2022-07-13-15-53-20-90023 += #fashion_mnist.
37
- 2022-07-13-15-53-20-90023 open upload started.
38
- 2022-07-13-15-53-20-90023 download completed.
39
- 2022-07-13-15-53-20-90023 selected.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
release/fashion-mnist/image_classifier/model/class_names.json DELETED
@@ -1,12 +0,0 @@
1
- [
2
- "T-shirt/top",
3
- "Trouser",
4
- "Pullover",
5
- "Dress",
6
- "Coat",
7
- "Sandal",
8
- "Shirt",
9
- "Sneaker",
10
- "Bag",
11
- "Ankle boot"
12
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
release/fashion-mnist/image_classifier/model/confusion_matrix.pyndarray DELETED
Binary file (986 Bytes)
 
release/fashion-mnist/image_classifier/model/eval.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "metrics": {
3
- "test_accuracy": 0.8608999848365784
4
- }
5
- }
 
 
 
 
 
 
release/fashion-mnist/image_classifier/model/keras_metadata.pb DELETED
@@ -1,8 +0,0 @@
1
-
2
- �#root"_tf_keras_sequential*�#{"name": "sequential", "trainable": true, "expects_training_arg": true, "dtype": "float32", "batch_input_shape": null, "must_restore_from_config": false, "class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, 28, 28]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "flatten_input"}}, {"class_name": "Flatten", "config": {"name": "flatten", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, 28, 28]}, "dtype": "float32", "data_format": "channels_last"}}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "dtype": "float32", "units": 128, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}, {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "linear", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}, {"class_name": "Activation", "config": {"name": "activation", "trainable": true, "dtype": "float32", "activation": "softmax"}}]}, "shared_object_id": 9, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 1, "axes": {}}, "shared_object_id": 10}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 28, 28]}, "is_graph_network": true, "full_save_spec": {"class_name": "__tuple__", "items": [[{"class_name": "TypeSpec", "type_spec": "tf.TensorSpec", "serialized": [{"class_name": "TensorShape", "items": [null, 28, 28]}, "float32", "flatten_input"]}], {}]}, "save_spec": {"class_name": "TypeSpec", "type_spec": "tf.TensorSpec", "serialized": [{"class_name": "TensorShape", "items": [null, 28, 28]}, "float32", "flatten_input"]}, "keras_version": "2.6.0", "backend": "tensorflow", "model_config": {"class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, 28, 28]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "flatten_input"}, "shared_object_id": 0}, {"class_name": "Flatten", "config": {"name": "flatten", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, 28, 28]}, "dtype": "float32", "data_format": "channels_last"}, "shared_object_id": 1}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "dtype": "float32", "units": 128, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 2}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 3}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 4}, {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "linear", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 5}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 6}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 7}, {"class_name": "Activation", "config": {"name": "activation", "trainable": true, "dtype": "float32", "activation": "softmax"}, "shared_object_id": 8}]}}, "training_config": {"loss": "categorical_crossentropy", "metrics": [[{"class_name": "MeanMetricWrapper", "config": {"name": "accuracy", "dtype": "float32", "fn": "categorical_accuracy"}, "shared_object_id": 11}]], "weighted_metrics": null, "loss_weights": null, "optimizer_config": {"class_name": "Adam", "config": {"name": "Adam", "learning_rate": 0.0010000000474974513, "decay": 0.0, "beta_1": 0.8999999761581421, "beta_2": 0.9990000128746033, "epsilon": 1e-07, "amsgrad": false}}}}2
3
- � root.layer-0"_tf_keras_layer*�{"name": "flatten", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": {"class_name": "__tuple__", "items": [null, 28, 28]}, "stateful": false, "must_restore_from_config": false, "class_name": "Flatten", "config": {"name": "flatten", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, 28, 28]}, "dtype": "float32", "data_format": "channels_last"}, "shared_object_id": 1, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 1, "axes": {}}, "shared_object_id": 10}}2
4
- �root.layer_with_weights-0"_tf_keras_layer*�{"name": "dense", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "class_name": "Dense", "config": {"name": "dense", "trainable": true, "dtype": "float32", "units": 128, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 2}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 3}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 4, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 784}}, "shared_object_id": 12}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 784]}}2
5
- �root.layer_with_weights-1"_tf_keras_layer*�{"name": "dense_1", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "linear", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 5}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 6}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 7, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 128}}, "shared_object_id": 13}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 128]}}2
6
- � root.layer-3"_tf_keras_layer*�{"name": "activation", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "class_name": "Activation", "config": {"name": "activation", "trainable": true, "dtype": "float32", "activation": "softmax"}, "shared_object_id": 8}2
7
- �=root.keras_api.metrics.0"_tf_keras_metric*�{"class_name": "Mean", "name": "loss", "dtype": "float32", "config": {"name": "loss", "dtype": "float32"}, "shared_object_id": 14}2
8
- �>root.keras_api.metrics.1"_tf_keras_metric*�{"class_name": "MeanMetricWrapper", "name": "accuracy", "dtype": "float32", "config": {"name": "accuracy", "dtype": "float32", "fn": "categorical_accuracy"}, "shared_object_id": 11}2
 
 
 
 
 
 
 
 
 
release/fashion-mnist/image_classifier/model/params.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "convnet": 0,
3
- "model_size": 224,
4
- "object_name": "2022-07-13-15-53-20-90023",
5
- "window_size": 28
6
- }
 
 
 
 
 
 
 
release/fashion-mnist/image_classifier/model/saved_model.pb DELETED
Binary file (79.4 kB)
 
release/fashion-mnist/image_classifier/model/variables/variables.index DELETED
Binary file (1.45 kB)
 
release/fashion-mnist/image_classifier/predictions.pyndarray DELETED
Binary file (400 kB)