File size: 4,380 Bytes
94f6172 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
{
"format": "layers-model",
"generatedBy": "keras v2.11.0",
"convertedBy": "TensorFlow.js Converter v3.21.0",
"modelTopology": {
"keras_version": "2.11.0",
"backend": "tensorflow",
"model_config": {
"class_name": "Sequential",
"config": {
"name": "sequential_3",
"layers": [
{
"class_name": "InputLayer",
"config": {
"batch_input_shape": [null, 4],
"dtype": "float32",
"sparse": false,
"ragged": false,
"name": "dense_9_input"
}
},
{
"class_name": "Dense",
"config": {
"name": "dense_9",
"trainable": true,
"dtype": "float32",
"batch_input_shape": [null, 4],
"units": 64,
"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_10",
"trainable": true,
"dtype": "float32",
"units": 32,
"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_11",
"trainable": true,
"dtype": "float32",
"units": 22,
"activation": "softmax",
"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
}
}
]
}
},
"training_config": {
"loss": "categorical_crossentropy",
"metrics": [
[
{
"class_name": "MeanMetricWrapper",
"config": {
"name": "accuracy",
"dtype": "float32",
"fn": "categorical_accuracy"
}
}
]
],
"weighted_metrics": null,
"loss_weights": null,
"optimizer_config": {
"class_name": "Custom>Adam",
"config": {
"name": "Adam",
"weight_decay": null,
"clipnorm": null,
"global_clipnorm": null,
"clipvalue": null,
"use_ema": false,
"ema_momentum": 0.99,
"ema_overwrite_frequency": null,
"jit_compile": false,
"is_legacy_optimizer": false,
"learning_rate": 0.0010000000474974513,
"beta_1": 0.9,
"beta_2": 0.999,
"epsilon": 1e-7,
"amsgrad": false
}
}
}
},
"weightsManifest": [
{
"paths": ["group1-shard1of1.bin"],
"weights": [
{ "name": "dense_10/kernel", "shape": [64, 32], "dtype": "float32" },
{ "name": "dense_10/bias", "shape": [32], "dtype": "float32" },
{ "name": "dense_11/kernel", "shape": [32, 22], "dtype": "float32" },
{ "name": "dense_11/bias", "shape": [22], "dtype": "float32" },
{ "name": "dense_9/kernel", "shape": [4, 64], "dtype": "float32" },
{ "name": "dense_9/bias", "shape": [64], "dtype": "float32" }
]
}
]
}
|