avocado-prices / model.json
julien-c's picture
julien-c HF staff
Retrain model with new version of MLConsole
d08f0bb verified
raw
history blame
4.87 kB
{
"modelTopology": {
"class_name": "Model",
"config": {
"name": "model1",
"layers": [
{
"name": "input1",
"class_name": "InputLayer",
"config": {
"batch_input_shape": [
null,
55
],
"dtype": "float32",
"sparse": false,
"name": "input1"
},
"inbound_nodes": []
},
{
"name": "dense_Dense1",
"class_name": "Dense",
"config": {
"units": 64,
"activation": "linear",
"use_bias": true,
"kernel_initializer": {
"class_name": "VarianceScaling",
"config": {
"scale": 1,
"mode": "fan_avg",
"distribution": "normal",
"seed": null
}
},
"bias_initializer": {
"class_name": "Zeros",
"config": {}
},
"kernel_regularizer": {
"class_name": "L1L2",
"config": {
"l1": 0.001,
"l2": 0.001
}
},
"bias_regularizer": {
"class_name": "L1L2",
"config": {
"l1": 0.001,
"l2": 0.001
}
},
"activity_regularizer": null,
"kernel_constraint": null,
"bias_constraint": null,
"name": "dense_Dense1",
"trainable": true
},
"inbound_nodes": [
[
[
"input1",
0,
0,
{}
]
]
]
},
{
"name": "batch_normalization_BatchNormalization1",
"class_name": "BatchNormalization",
"config": {
"axis": -1,
"momentum": 0.99,
"epsilon": 0.001,
"center": true,
"scale": true,
"beta_initializer": {
"class_name": "Zeros",
"config": {}
},
"gamma_initializer": {
"class_name": "Ones",
"config": {}
},
"moving_mean_initializer": {
"class_name": "Zeros",
"config": {}
},
"moving_variance_initializer": {
"class_name": "Ones",
"config": {}
},
"beta_regularizer": null,
"gamma_regularizer": null,
"beta_constraint": null,
"gamma_constraint": null,
"name": "batch_normalization_BatchNormalization1",
"trainable": true
},
"inbound_nodes": [
[
[
"dense_Dense1",
0,
0,
{}
]
]
]
},
{
"name": "activation_Activation1",
"class_name": "Activation",
"config": {
"activation": "relu6",
"name": "activation_Activation1",
"trainable": true
},
"inbound_nodes": [
[
[
"batch_normalization_BatchNormalization1",
0,
0,
{}
]
]
]
},
{
"name": "dense_Dense2",
"class_name": "Dense",
"config": {
"units": 1,
"activation": "linear",
"use_bias": true,
"kernel_initializer": {
"class_name": "VarianceScaling",
"config": {
"scale": 1,
"mode": "fan_avg",
"distribution": "normal",
"seed": null
}
},
"bias_initializer": {
"class_name": "Zeros",
"config": {}
},
"kernel_regularizer": null,
"bias_regularizer": null,
"activity_regularizer": null,
"kernel_constraint": null,
"bias_constraint": null,
"name": "dense_Dense2",
"trainable": true
},
"inbound_nodes": [
[
[
"activation_Activation1",
0,
0,
{}
]
]
]
}
],
"input_layers": [
[
"input1",
0,
0
]
],
"output_layers": [
[
"dense_Dense2",
0,
0
]
]
},
"keras_version": "tfjs-layers 3.12.0",
"backend": "tensor_flow.js"
},
"format": "layers-model",
"generatedBy": "TensorFlow.js tfjs-layers v3.12.0",
"convertedBy": null,
"weightsManifest": [
{
"paths": [
"./model.weights.bin"
],
"weights": [
{
"name": "dense_Dense1/kernel",
"shape": [
55,
64
],
"dtype": "float32"
},
{
"name": "dense_Dense1/bias",
"shape": [
64
],
"dtype": "float32"
},
{
"name": "batch_normalization_BatchNormalization1/gamma",
"shape": [
64
],
"dtype": "float32"
},
{
"name": "batch_normalization_BatchNormalization1/beta",
"shape": [
64
],
"dtype": "float32"
},
{
"name": "dense_Dense2/kernel",
"shape": [
64,
1
],
"dtype": "float32"
},
{
"name": "dense_Dense2/bias",
"shape": [
1
],
"dtype": "float32"
},
{
"name": "batch_normalization_BatchNormalization1/moving_mean",
"shape": [
64
],
"dtype": "float32"
},
{
"name": "batch_normalization_BatchNormalization1/moving_variance",
"shape": [
64
],
"dtype": "float32"
}
]
}
]
}