Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-2-capstone-design2
/
2015104180
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
JHyunB
2020-12-14 18:30:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a997275a70b591c80dbda1357d31fdc8d2274ac5
a997275a
1 parent
684f9407
소스코드 제출
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
952 additions
and
2 deletions
video-streaming-with-kafka-and-spark/spark/c3d.json
video-streaming-with-kafka-and-spark/spark/classifier.json
video-streaming-with-kafka-and-spark/spark/c3d.json
View file @
a997275
{
"class_name"
:
"Model"
,
"backend"
:
"tensorflow"
,
"keras_version"
:
"2.3.1"
,
"config"
:
{
"name"
:
"model_1"
,
"input_layers"
:
[[
"conv1_input"
,
0
,
0
]],
"layers"
:
[{
"name"
:
"conv1_input"
,
"inbound_nodes"
:
[],
"class_name"
:
"InputLayer"
,
"config"
:
{
"name"
:
"conv1_input"
,
"sparse"
:
false
,
"batch_input_shape"
:
[
null
,
16
,
112
,
112
,
3
],
"dtype"
:
"float32"
}},
{
"name"
:
"conv1"
,
"inbound_nodes"
:
[[[
"conv1_input"
,
0
,
0
,
{}]]],
"class_name"
:
"Conv3D"
,
"config"
:
{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:
[
1
,
1
,
1
],
"kernel_size"
:
[
3
,
3
,
3
],
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}},
"dtype"
:
"float32"
,
"name"
:
"conv1"
,
"filters"
:
64
,
"activation"
:
"relu"
,
"batch_input_shape"
:
[
null
,
16
,
112
,
112
,
3
],
"kernel_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:
[
1
,
1
,
1
]}},
{
"name"
:
"pool1"
,
"inbound_nodes"
:
[[[
"conv1"
,
0
,
0
,
{}]]],
"class_name"
:
"MaxPooling3D"
,
"config"
:
{
"padding"
:
"same"
,
"strides"
:
[
1
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool1"
,
"data_format"
:
"channels_last"
,
"pool_size"
:
[
1
,
2
,
2
]}},
{
"name"
:
"conv2"
,
"inbound_nodes"
:
[[[
"pool1"
,
0
,
0
,
{}]]],
"class_name"
:
"Conv3D"
,
"config"
:
{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:
[
1
,
1
,
1
],
"kernel_size"
:
[
3
,
3
,
3
],
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}},
"dtype"
:
"float32"
,
"name"
:
"conv2"
,
"filters"
:
128
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:
[
1
,
1
,
1
]}},
{
"name"
:
"pool2"
,
"inbound_nodes"
:
[[[
"conv2"
,
0
,
0
,
{}]]],
"class_name"
:
"MaxPooling3D"
,
"config"
:
{
"padding"
:
"valid"
,
"strides"
:
[
2
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool2"
,
"data_format"
:
"channels_last"
,
"pool_size"
:
[
2
,
2
,
2
]}},
{
"name"
:
"conv3a"
,
"inbound_nodes"
:
[[[
"pool2"
,
0
,
0
,
{}]]],
"class_name"
:
"Conv3D"
,
"config"
:
{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:
[
1
,
1
,
1
],
"kernel_size"
:
[
3
,
3
,
3
],
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}},
"dtype"
:
"float32"
,
"name"
:
"conv3a"
,
"filters"
:
256
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:
[
1
,
1
,
1
]}},
{
"name"
:
"conv3b"
,
"inbound_nodes"
:
[[[
"conv3a"
,
0
,
0
,
{}]]],
"class_name"
:
"Conv3D"
,
"config"
:
{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:
[
1
,
1
,
1
],
"kernel_size"
:
[
3
,
3
,
3
],
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}},
"dtype"
:
"float32"
,
"name"
:
"conv3b"
,
"filters"
:
256
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:
[
1
,
1
,
1
]}},
{
"name"
:
"pool3"
,
"inbound_nodes"
:
[[[
"conv3b"
,
0
,
0
,
{}]]],
"class_name"
:
"MaxPooling3D"
,
"config"
:
{
"padding"
:
"valid"
,
"strides"
:
[
2
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool3"
,
"data_format"
:
"channels_last"
,
"pool_size"
:
[
2
,
2
,
2
]}},
{
"name"
:
"conv4a"
,
"inbound_nodes"
:
[[[
"pool3"
,
0
,
0
,
{}]]],
"class_name"
:
"Conv3D"
,
"config"
:
{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:
[
1
,
1
,
1
],
"kernel_size"
:
[
3
,
3
,
3
],
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}},
"dtype"
:
"float32"
,
"name"
:
"conv4a"
,
"filters"
:
512
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:
[
1
,
1
,
1
]}},
{
"name"
:
"conv4b"
,
"inbound_nodes"
:
[[[
"conv4a"
,
0
,
0
,
{}]]],
"class_name"
:
"Conv3D"
,
"config"
:
{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:
[
1
,
1
,
1
],
"kernel_size"
:
[
3
,
3
,
3
],
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}},
"dtype"
:
"float32"
,
"name"
:
"conv4b"
,
"filters"
:
512
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:
[
1
,
1
,
1
]}},
{
"name"
:
"pool4"
,
"inbound_nodes"
:
[[[
"conv4b"
,
0
,
0
,
{}]]],
"class_name"
:
"MaxPooling3D"
,
"config"
:
{
"padding"
:
"valid"
,
"strides"
:
[
2
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool4"
,
"data_format"
:
"channels_last"
,
"pool_size"
:
[
2
,
2
,
2
]}},
{
"name"
:
"conv5a"
,
"inbound_nodes"
:
[[[
"pool4"
,
0
,
0
,
{}]]],
"class_name"
:
"Conv3D"
,
"config"
:
{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:
[
1
,
1
,
1
],
"kernel_size"
:
[
3
,
3
,
3
],
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}},
"dtype"
:
"float32"
,
"name"
:
"conv5a"
,
"filters"
:
512
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:
[
1
,
1
,
1
]}},
{
"name"
:
"conv5b"
,
"inbound_nodes"
:
[[[
"conv5a"
,
0
,
0
,
{}]]],
"class_name"
:
"Conv3D"
,
"config"
:
{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:
[
1
,
1
,
1
],
"kernel_size"
:
[
3
,
3
,
3
],
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}},
"dtype"
:
"float32"
,
"name"
:
"conv5b"
,
"filters"
:
512
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:
[
1
,
1
,
1
]}},
{
"name"
:
"zero_padding3d_1"
,
"inbound_nodes"
:
[[[
"conv5b"
,
0
,
0
,
{}]]],
"class_name"
:
"ZeroPadding3D"
,
"config"
:
{
"trainable"
:
true
,
"name"
:
"zero_padding3d_1"
,
"padding"
:
[[
0
,
0
],
[
1
,
1
],
[
1
,
1
]],
"data_format"
:
"channels_last"
,
"dtype"
:
"float32"
}},
{
"name"
:
"pool5"
,
"inbound_nodes"
:
[[[
"zero_padding3d_1"
,
0
,
0
,
{}]]],
"class_name"
:
"MaxPooling3D"
,
"config"
:
{
"padding"
:
"valid"
,
"strides"
:
[
2
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool5"
,
"data_format"
:
"channels_last"
,
"pool_size"
:
[
2
,
2
,
2
]}},
{
"name"
:
"flatten_1"
,
"inbound_nodes"
:
[[[
"pool5"
,
0
,
0
,
{}]]],
"class_name"
:
"Flatten"
,
"config"
:
{
"trainable"
:
true
,
"name"
:
"flatten_1"
,
"data_format"
:
"channels_last"
,
"dtype"
:
"float32"
}},
{
"name"
:
"fc6"
,
"inbound_nodes"
:
[[[
"flatten_1"
,
0
,
0
,
{}]]],
"class_name"
:
"Dense"
,
"config"
:
{
"bias_regularizer"
:
null
,
"activation"
:
"relu"
,
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}},
"dtype"
:
"float32"
,
"name"
:
"fc6"
,
"units"
:
4096
,
"kernel_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
}}],
"output_layers"
:
[[
"fc6"
,
0
,
0
]]}}
\ No newline at end of file
{
"class_name"
:
"Model"
,
"backend"
:
"tensorflow"
,
"keras_version"
:
"2.3.1"
,
"config"
:{
"name"
:
"model_1"
,
"input_layers"
:[
[
"conv1_input"
,
0
,
0
]
],
"layers"
:[
{
"name"
:
"conv1_input"
,
"inbound_nodes"
:[
],
"class_name"
:
"InputLayer"
,
"config"
:{
"name"
:
"conv1_input"
,
"sparse"
:
false
,
"batch_input_shape"
:[
null
,
16
,
112
,
112
,
3
],
"dtype"
:
"float32"
}
},
{
"name"
:
"conv1"
,
"inbound_nodes"
:[
[
[
"conv1_input"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Conv3D"
,
"config"
:{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:[
1
,
1
,
1
],
"kernel_size"
:[
3
,
3
,
3
],
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}
},
"dtype"
:
"float32"
,
"name"
:
"conv1"
,
"filters"
:
64
,
"activation"
:
"relu"
,
"batch_input_shape"
:[
null
,
16
,
112
,
112
,
3
],
"kernel_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:[
1
,
1
,
1
]
}
},
{
"name"
:
"pool1"
,
"inbound_nodes"
:[
[
[
"conv1"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"MaxPooling3D"
,
"config"
:{
"padding"
:
"same"
,
"strides"
:[
1
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool1"
,
"data_format"
:
"channels_last"
,
"pool_size"
:[
1
,
2
,
2
]
}
},
{
"name"
:
"conv2"
,
"inbound_nodes"
:[
[
[
"pool1"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Conv3D"
,
"config"
:{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:[
1
,
1
,
1
],
"kernel_size"
:[
3
,
3
,
3
],
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}
},
"dtype"
:
"float32"
,
"name"
:
"conv2"
,
"filters"
:
128
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:[
1
,
1
,
1
]
}
},
{
"name"
:
"pool2"
,
"inbound_nodes"
:[
[
[
"conv2"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"MaxPooling3D"
,
"config"
:{
"padding"
:
"valid"
,
"strides"
:[
2
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool2"
,
"data_format"
:
"channels_last"
,
"pool_size"
:[
2
,
2
,
2
]
}
},
{
"name"
:
"conv3a"
,
"inbound_nodes"
:[
[
[
"pool2"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Conv3D"
,
"config"
:{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:[
1
,
1
,
1
],
"kernel_size"
:[
3
,
3
,
3
],
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}
},
"dtype"
:
"float32"
,
"name"
:
"conv3a"
,
"filters"
:
256
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:[
1
,
1
,
1
]
}
},
{
"name"
:
"conv3b"
,
"inbound_nodes"
:[
[
[
"conv3a"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Conv3D"
,
"config"
:{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:[
1
,
1
,
1
],
"kernel_size"
:[
3
,
3
,
3
],
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}
},
"dtype"
:
"float32"
,
"name"
:
"conv3b"
,
"filters"
:
256
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:[
1
,
1
,
1
]
}
},
{
"name"
:
"pool3"
,
"inbound_nodes"
:[
[
[
"conv3b"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"MaxPooling3D"
,
"config"
:{
"padding"
:
"valid"
,
"strides"
:[
2
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool3"
,
"data_format"
:
"channels_last"
,
"pool_size"
:[
2
,
2
,
2
]
}
},
{
"name"
:
"conv4a"
,
"inbound_nodes"
:[
[
[
"pool3"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Conv3D"
,
"config"
:{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:[
1
,
1
,
1
],
"kernel_size"
:[
3
,
3
,
3
],
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}
},
"dtype"
:
"float32"
,
"name"
:
"conv4a"
,
"filters"
:
512
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:[
1
,
1
,
1
]
}
},
{
"name"
:
"conv4b"
,
"inbound_nodes"
:[
[
[
"conv4a"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Conv3D"
,
"config"
:{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:[
1
,
1
,
1
],
"kernel_size"
:[
3
,
3
,
3
],
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}
},
"dtype"
:
"float32"
,
"name"
:
"conv4b"
,
"filters"
:
512
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:[
1
,
1
,
1
]
}
},
{
"name"
:
"pool4"
,
"inbound_nodes"
:[
[
[
"conv4b"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"MaxPooling3D"
,
"config"
:{
"padding"
:
"valid"
,
"strides"
:[
2
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool4"
,
"data_format"
:
"channels_last"
,
"pool_size"
:[
2
,
2
,
2
]
}
},
{
"name"
:
"conv5a"
,
"inbound_nodes"
:[
[
[
"pool4"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Conv3D"
,
"config"
:{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:[
1
,
1
,
1
],
"kernel_size"
:[
3
,
3
,
3
],
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}
},
"dtype"
:
"float32"
,
"name"
:
"conv5a"
,
"filters"
:
512
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:[
1
,
1
,
1
]
}
},
{
"name"
:
"conv5b"
,
"inbound_nodes"
:[
[
[
"conv5a"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Conv3D"
,
"config"
:{
"bias_regularizer"
:
null
,
"padding"
:
"same"
,
"dilation_rate"
:[
1
,
1
,
1
],
"kernel_size"
:[
3
,
3
,
3
],
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}
},
"dtype"
:
"float32"
,
"name"
:
"conv5b"
,
"filters"
:
512
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"data_format"
:
"channels_last"
,
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
,
"strides"
:[
1
,
1
,
1
]
}
},
{
"name"
:
"zero_padding3d_1"
,
"inbound_nodes"
:[
[
[
"conv5b"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"ZeroPadding3D"
,
"config"
:{
"trainable"
:
true
,
"name"
:
"zero_padding3d_1"
,
"padding"
:[
[
0
,
0
],
[
1
,
1
],
[
1
,
1
]
],
"data_format"
:
"channels_last"
,
"dtype"
:
"float32"
}
},
{
"name"
:
"pool5"
,
"inbound_nodes"
:[
[
[
"zero_padding3d_1"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"MaxPooling3D"
,
"config"
:{
"padding"
:
"valid"
,
"strides"
:[
2
,
2
,
2
],
"dtype"
:
"float32"
,
"trainable"
:
true
,
"name"
:
"pool5"
,
"data_format"
:
"channels_last"
,
"pool_size"
:[
2
,
2
,
2
]
}
},
{
"name"
:
"flatten_1"
,
"inbound_nodes"
:[
[
[
"pool5"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Flatten"
,
"config"
:{
"trainable"
:
true
,
"name"
:
"flatten_1"
,
"data_format"
:
"channels_last"
,
"dtype"
:
"float32"
}
},
{
"name"
:
"fc6"
,
"inbound_nodes"
:[
[
[
"flatten_1"
,
0
,
0
,
{
}
]
]
],
"class_name"
:
"Dense"
,
"config"
:{
"bias_regularizer"
:
null
,
"activation"
:
"relu"
,
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"mode"
:
"fan_avg"
,
"seed"
:
null
,
"distribution"
:
"uniform"
,
"scale"
:
1.0
}
},
"dtype"
:
"float32"
,
"name"
:
"fc6"
,
"units"
:
4096
,
"kernel_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"activity_regularizer"
:
null
,
"kernel_regularizer"
:
null
,
"bias_constraint"
:
null
,
"trainable"
:
true
,
"use_bias"
:
true
}
}
],
"output_layers"
:[
[
"fc6"
,
0
,
0
]
]
}
}
\ No newline at end of file
...
...
video-streaming-with-kafka-and-spark/spark/classifier.json
View file @
a997275
{
"class_name"
:
"Sequential"
,
"config"
:
{
"name"
:
"sequential_1"
,
"layers"
:
[{
"class_name"
:
"Dense"
,
"config"
:
{
"name"
:
"dense_1"
,
"use_bias"
:
true
,
"bias_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"kernel_regularizer"
:
{
"class_name"
:
"L1L2"
,
"config"
:
{
"l1"
:
0.0
,
"l2"
:
0.0010000000474974513
}},
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"distribution"
:
"normal"
,
"seed"
:
null
,
"mode"
:
"fan_avg"
,
"scale"
:
1.0
}},
"batch_input_shape"
:
[
null
,
4096
],
"activity_regularizer"
:
null
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"bias_regularizer"
:
null
,
"units"
:
512
}},
{
"class_name"
:
"Dropout"
,
"config"
:
{
"name"
:
"dropout_1"
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"seed"
:
null
,
"rate"
:
0.6
,
"noise_shape"
:
null
}},
{
"class_name"
:
"Dense"
,
"config"
:
{
"name"
:
"dense_2"
,
"use_bias"
:
true
,
"bias_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"kernel_regularizer"
:
{
"class_name"
:
"L1L2"
,
"config"
:
{
"l1"
:
0.0
,
"l2"
:
0.0010000000474974513
}},
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"distribution"
:
"normal"
,
"seed"
:
null
,
"mode"
:
"fan_avg"
,
"scale"
:
1.0
}},
"activity_regularizer"
:
null
,
"activation"
:
"linear"
,
"kernel_constraint"
:
null
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"bias_regularizer"
:
null
,
"units"
:
32
}},
{
"class_name"
:
"Dropout"
,
"config"
:
{
"name"
:
"dropout_2"
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"seed"
:
null
,
"rate"
:
0.6
,
"noise_shape"
:
null
}},
{
"class_name"
:
"Dense"
,
"config"
:
{
"name"
:
"dense_3"
,
"use_bias"
:
true
,
"bias_constraint"
:
null
,
"bias_initializer"
:
{
"class_name"
:
"Zeros"
,
"config"
:
{}},
"kernel_regularizer"
:
{
"class_name"
:
"L1L2"
,
"config"
:
{
"l1"
:
0.0
,
"l2"
:
0.0010000000474974513
}},
"kernel_initializer"
:
{
"class_name"
:
"VarianceScaling"
,
"config"
:
{
"distribution"
:
"normal"
,
"seed"
:
null
,
"mode"
:
"fan_avg"
,
"scale"
:
1.0
}},
"activity_regularizer"
:
null
,
"activation"
:
"sigmoid"
,
"kernel_constraint"
:
null
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"bias_regularizer"
:
null
,
"units"
:
1
}}]},
"keras_version"
:
"2.3.1"
,
"backend"
:
"tensorflow"
}
\ No newline at end of file
{
"class_name"
:
"Sequential"
,
"config"
:{
"name"
:
"sequential_1"
,
"layers"
:[
{
"class_name"
:
"Dense"
,
"config"
:{
"name"
:
"dense_1"
,
"use_bias"
:
true
,
"bias_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"kernel_regularizer"
:{
"class_name"
:
"L1L2"
,
"config"
:{
"l1"
:
0.0
,
"l2"
:
0.0010000000474974513
}
},
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"distribution"
:
"normal"
,
"seed"
:
null
,
"mode"
:
"fan_avg"
,
"scale"
:
1.0
}
},
"batch_input_shape"
:[
null
,
4096
],
"activity_regularizer"
:
null
,
"activation"
:
"relu"
,
"kernel_constraint"
:
null
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"bias_regularizer"
:
null
,
"units"
:
512
}
},
{
"class_name"
:
"Dropout"
,
"config"
:{
"name"
:
"dropout_1"
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"seed"
:
null
,
"rate"
:
0.6
,
"noise_shape"
:
null
}
},
{
"class_name"
:
"Dense"
,
"config"
:{
"name"
:
"dense_2"
,
"use_bias"
:
true
,
"bias_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"kernel_regularizer"
:{
"class_name"
:
"L1L2"
,
"config"
:{
"l1"
:
0.0
,
"l2"
:
0.0010000000474974513
}
},
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"distribution"
:
"normal"
,
"seed"
:
null
,
"mode"
:
"fan_avg"
,
"scale"
:
1.0
}
},
"activity_regularizer"
:
null
,
"activation"
:
"linear"
,
"kernel_constraint"
:
null
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"bias_regularizer"
:
null
,
"units"
:
32
}
},
{
"class_name"
:
"Dropout"
,
"config"
:{
"name"
:
"dropout_2"
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"seed"
:
null
,
"rate"
:
0.6
,
"noise_shape"
:
null
}
},
{
"class_name"
:
"Dense"
,
"config"
:{
"name"
:
"dense_3"
,
"use_bias"
:
true
,
"bias_constraint"
:
null
,
"bias_initializer"
:{
"class_name"
:
"Zeros"
,
"config"
:{
}
},
"kernel_regularizer"
:{
"class_name"
:
"L1L2"
,
"config"
:{
"l1"
:
0.0
,
"l2"
:
0.0010000000474974513
}
},
"kernel_initializer"
:{
"class_name"
:
"VarianceScaling"
,
"config"
:{
"distribution"
:
"normal"
,
"seed"
:
null
,
"mode"
:
"fan_avg"
,
"scale"
:
1.0
}
},
"activity_regularizer"
:
null
,
"activation"
:
"sigmoid"
,
"kernel_constraint"
:
null
,
"dtype"
:
"float32"
,
"trainable"
:
true
,
"bias_regularizer"
:
null
,
"units"
:
1
}
}
]
},
"keras_version"
:
"2.3.1"
,
"backend"
:
"tensorflow"
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment