keras_example_unzipped / config.json
Wauplin's picture
Wauplin HF staff
Format (#1)
bf71dc9 verified
{
"module":"keras",
"class_name":"Sequential",
"config":{
"name":"sequential",
"trainable":true,
"dtype":"float32",
"layers":[
{
"module":"keras.layers",
"class_name":"InputLayer",
"config":{
"batch_shape":[
null,
28,
28,
1
],
"dtype":"float32",
"sparse":false,
"name":"input_layer"
},
"registered_name":null
},
{
"module":"keras.layers",
"class_name":"Conv2D",
"config":{
"name":"conv2d",
"trainable":true,
"dtype":"float32",
"filters":64,
"kernel_size":[
3,
3
],
"strides":[
1,
1
],
"padding":"valid",
"data_format":"channels_last",
"dilation_rate":[
1,
1
],
"groups":1,
"activation":"relu",
"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,
"activity_regularizer":null,
"kernel_constraint":null,
"bias_constraint":null
},
"registered_name":null,
"build_config":{
"input_shape":[
null,
28,
28,
1
]
}
},
{
"module":"keras.layers",
"class_name":"Conv2D",
"config":{
"name":"conv2d_1",
"trainable":true,
"dtype":"float32",
"filters":64,
"kernel_size":[
3,
3
],
"strides":[
1,
1
],
"padding":"valid",
"data_format":"channels_last",
"dilation_rate":[
1,
1
],
"groups":1,
"activation":"relu",
"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,
"activity_regularizer":null,
"kernel_constraint":null,
"bias_constraint":null
},
"registered_name":null,
"build_config":{
"input_shape":[
null,
26,
26,
64
]
}
},
{
"module":"keras.layers",
"class_name":"MaxPooling2D",
"config":{
"name":"max_pooling2d",
"trainable":true,
"dtype":"float32",
"pool_size":[
2,
2
],
"padding":"valid",
"strides":[
2,
2
],
"data_format":"channels_last"
},
"registered_name":null,
"build_config":{
"input_shape":[
null,
24,
24,
64
]
}
},
{
"module":"keras.layers",
"class_name":"Conv2D",
"config":{
"name":"conv2d_2",
"trainable":true,
"dtype":"float32",
"filters":128,
"kernel_size":[
3,
3
],
"strides":[
1,
1
],
"padding":"valid",
"data_format":"channels_last",
"dilation_rate":[
1,
1
],
"groups":1,
"activation":"relu",
"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,
"activity_regularizer":null,
"kernel_constraint":null,
"bias_constraint":null
},
"registered_name":null,
"build_config":{
"input_shape":[
null,
12,
12,
64
]
}
},
{
"module":"keras.layers",
"class_name":"Conv2D",
"config":{
"name":"conv2d_3",
"trainable":true,
"dtype":"float32",
"filters":128,
"kernel_size":[
3,
3
],
"strides":[
1,
1
],
"padding":"valid",
"data_format":"channels_last",
"dilation_rate":[
1,
1
],
"groups":1,
"activation":"relu",
"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,
"activity_regularizer":null,
"kernel_constraint":null,
"bias_constraint":null
},
"registered_name":null,
"build_config":{
"input_shape":[
null,
10,
10,
128
]
}
},
{
"module":"keras.layers",
"class_name":"GlobalAveragePooling2D",
"config":{
"name":"global_average_pooling2d",
"trainable":true,
"dtype":"float32",
"data_format":"channels_last",
"keepdims":false
},
"registered_name":null,
"build_config":{
"input_shape":[
null,
8,
8,
128
]
}
},
{
"module":"keras.layers",
"class_name":"Dropout",
"config":{
"name":"dropout",
"trainable":true,
"dtype":"float32",
"rate":0.5,
"seed":null,
"noise_shape":null
},
"registered_name":null
},
{
"module":"keras.layers",
"class_name":"Dense",
"config":{
"name":"dense",
"trainable":true,
"dtype":"float32",
"units":10,
"activation":"softmax",
"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
},
"registered_name":null,
"build_config":{
"input_shape":[
null,
128
]
}
}
],
"build_input_shape":[
null,
28,
28,
1
]
},
"registered_name":null,
"build_config":{
"input_shape":[
null,
28,
28,
1
]
}
}