Complete general functions
This commit is contained in:
BIN
datasets/lstmData/tfjs_model/group1-shard1of1.bin
Normal file
BIN
datasets/lstmData/tfjs_model/group1-shard1of1.bin
Normal file
Binary file not shown.
297
datasets/lstmData/tfjs_model/model.json
Normal file
297
datasets/lstmData/tfjs_model/model.json
Normal file
@@ -0,0 +1,297 @@
|
||||
{
|
||||
"format": "layers-model",
|
||||
"generatedBy": "keras v3.8.0",
|
||||
"convertedBy": "TensorFlow.js Converter v4.22.0",
|
||||
"modelTopology": {
|
||||
"keras_version": "3.8.0",
|
||||
"backend": "tensorflow",
|
||||
"model_config": {
|
||||
"class_name": "Sequential",
|
||||
"config": {
|
||||
"name": "sequential_8",
|
||||
"trainable": true,
|
||||
"dtype": {
|
||||
"module": "keras",
|
||||
"class_name": "DTypePolicy",
|
||||
"config": {
|
||||
"name": "float32"
|
||||
},
|
||||
"registered_name": null
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"class_name": "InputLayer",
|
||||
"config": {
|
||||
"batch_shape": [
|
||||
null,
|
||||
24,
|
||||
166
|
||||
],
|
||||
"dtype": "float32",
|
||||
"sparse": false,
|
||||
"name": "input_layer_8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"class_name": "LSTM",
|
||||
"config": {
|
||||
"name": "lstm_16",
|
||||
"trainable": true,
|
||||
"dtype": {
|
||||
"module": "keras",
|
||||
"class_name": "DTypePolicy",
|
||||
"config": {
|
||||
"name": "float32"
|
||||
},
|
||||
"registered_name": null
|
||||
},
|
||||
"return_sequences": true,
|
||||
"return_state": false,
|
||||
"go_backwards": false,
|
||||
"stateful": false,
|
||||
"unroll": false,
|
||||
"zero_output_for_mask": false,
|
||||
"units": 5,
|
||||
"activation": "tanh",
|
||||
"recurrent_activation": "sigmoid",
|
||||
"use_bias": true,
|
||||
"kernel_initializer": {
|
||||
"module": "keras.initializers",
|
||||
"class_name": "GlorotUniform",
|
||||
"config": {
|
||||
"seed": null
|
||||
},
|
||||
"registered_name": null
|
||||
},
|
||||
"recurrent_initializer": {
|
||||
"module": "keras.initializers",
|
||||
"class_name": "Orthogonal",
|
||||
"config": {
|
||||
"seed": null,
|
||||
"gain": 1
|
||||
},
|
||||
"registered_name": null
|
||||
},
|
||||
"bias_initializer": {
|
||||
"module": "keras.initializers",
|
||||
"class_name": "Zeros",
|
||||
"config": {},
|
||||
"registered_name": null
|
||||
},
|
||||
"unit_forget_bias": true,
|
||||
"kernel_regularizer": null,
|
||||
"recurrent_regularizer": null,
|
||||
"bias_regularizer": null,
|
||||
"activity_regularizer": null,
|
||||
"kernel_constraint": null,
|
||||
"recurrent_constraint": null,
|
||||
"bias_constraint": null,
|
||||
"dropout": 0,
|
||||
"recurrent_dropout": 0,
|
||||
"seed": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"class_name": "LSTM",
|
||||
"config": {
|
||||
"name": "lstm_17",
|
||||
"trainable": true,
|
||||
"dtype": {
|
||||
"module": "keras",
|
||||
"class_name": "DTypePolicy",
|
||||
"config": {
|
||||
"name": "float32"
|
||||
},
|
||||
"registered_name": null
|
||||
},
|
||||
"return_sequences": false,
|
||||
"return_state": false,
|
||||
"go_backwards": false,
|
||||
"stateful": false,
|
||||
"unroll": false,
|
||||
"zero_output_for_mask": false,
|
||||
"units": 5,
|
||||
"activation": "tanh",
|
||||
"recurrent_activation": "sigmoid",
|
||||
"use_bias": true,
|
||||
"kernel_initializer": {
|
||||
"module": "keras.initializers",
|
||||
"class_name": "GlorotUniform",
|
||||
"config": {
|
||||
"seed": null
|
||||
},
|
||||
"registered_name": null
|
||||
},
|
||||
"recurrent_initializer": {
|
||||
"module": "keras.initializers",
|
||||
"class_name": "Orthogonal",
|
||||
"config": {
|
||||
"seed": null,
|
||||
"gain": 1
|
||||
},
|
||||
"registered_name": null
|
||||
},
|
||||
"bias_initializer": {
|
||||
"module": "keras.initializers",
|
||||
"class_name": "Zeros",
|
||||
"config": {},
|
||||
"registered_name": null
|
||||
},
|
||||
"unit_forget_bias": true,
|
||||
"kernel_regularizer": null,
|
||||
"recurrent_regularizer": null,
|
||||
"bias_regularizer": null,
|
||||
"activity_regularizer": null,
|
||||
"kernel_constraint": null,
|
||||
"recurrent_constraint": null,
|
||||
"bias_constraint": null,
|
||||
"dropout": 0,
|
||||
"recurrent_dropout": 0,
|
||||
"seed": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"class_name": "Dense",
|
||||
"config": {
|
||||
"name": "dense_8",
|
||||
"trainable": true,
|
||||
"dtype": {
|
||||
"module": "keras",
|
||||
"class_name": "DTypePolicy",
|
||||
"config": {
|
||||
"name": "float32"
|
||||
},
|
||||
"registered_name": null
|
||||
},
|
||||
"units": 1,
|
||||
"activation": "linear",
|
||||
"use_bias": true,
|
||||
"kernel_initializer": {
|
||||
"module": "keras.initializers",
|
||||
"class_name": "GlorotUniform",
|
||||
"config": {
|
||||
"seed": null
|
||||
},
|
||||
"registered_name": null
|
||||
},
|
||||
"bias_initializer": {
|
||||
"module": "keras.initializers",
|
||||
"class_name": "Zeros",
|
||||
"config": {},
|
||||
"registered_name": null
|
||||
},
|
||||
"kernel_regularizer": null,
|
||||
"bias_regularizer": null,
|
||||
"kernel_constraint": null,
|
||||
"bias_constraint": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"build_input_shape": [
|
||||
null,
|
||||
24,
|
||||
166
|
||||
]
|
||||
}
|
||||
},
|
||||
"training_config": {
|
||||
"loss": "mse",
|
||||
"loss_weights": null,
|
||||
"metrics": null,
|
||||
"weighted_metrics": null,
|
||||
"run_eagerly": false,
|
||||
"steps_per_execution": 1,
|
||||
"jit_compile": false,
|
||||
"optimizer_config": {
|
||||
"class_name": "Adam",
|
||||
"config": {
|
||||
"name": "adam",
|
||||
"learning_rate": 0.00009999999747378752,
|
||||
"weight_decay": null,
|
||||
"clipnorm": null,
|
||||
"global_clipnorm": null,
|
||||
"clipvalue": null,
|
||||
"use_ema": false,
|
||||
"ema_momentum": 0.99,
|
||||
"ema_overwrite_frequency": null,
|
||||
"loss_scale_factor": null,
|
||||
"gradient_accumulation_steps": null,
|
||||
"beta_1": 0.9,
|
||||
"beta_2": 0.999,
|
||||
"epsilon": 1e-7,
|
||||
"amsgrad": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"weightsManifest": [
|
||||
{
|
||||
"paths": [
|
||||
"group1-shard1of1.bin"
|
||||
],
|
||||
"weights": [
|
||||
{
|
||||
"name": "dense_8/kernel",
|
||||
"shape": [
|
||||
5,
|
||||
1
|
||||
],
|
||||
"dtype": "float32"
|
||||
},
|
||||
{
|
||||
"name": "dense_8/bias",
|
||||
"shape": [
|
||||
1
|
||||
],
|
||||
"dtype": "float32"
|
||||
},
|
||||
{
|
||||
"name": "lstm_16/lstm_cell/kernel",
|
||||
"shape": [
|
||||
166,
|
||||
20
|
||||
],
|
||||
"dtype": "float32"
|
||||
},
|
||||
{
|
||||
"name": "lstm_16/lstm_cell/recurrent_kernel",
|
||||
"shape": [
|
||||
5,
|
||||
20
|
||||
],
|
||||
"dtype": "float32"
|
||||
},
|
||||
{
|
||||
"name": "lstm_16/lstm_cell/bias",
|
||||
"shape": [
|
||||
20
|
||||
],
|
||||
"dtype": "float32"
|
||||
},
|
||||
{
|
||||
"name": "lstm_17/lstm_cell/kernel",
|
||||
"shape": [
|
||||
5,
|
||||
20
|
||||
],
|
||||
"dtype": "float32"
|
||||
},
|
||||
{
|
||||
"name": "lstm_17/lstm_cell/recurrent_kernel",
|
||||
"shape": [
|
||||
5,
|
||||
20
|
||||
],
|
||||
"dtype": "float32"
|
||||
},
|
||||
{
|
||||
"name": "lstm_17/lstm_cell/bias",
|
||||
"shape": [
|
||||
20
|
||||
],
|
||||
"dtype": "float32"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
datasets/lstmData/tfjs_model/model_weights.weights.h5
Normal file
BIN
datasets/lstmData/tfjs_model/model_weights.weights.h5
Normal file
Binary file not shown.
Reference in New Issue
Block a user