Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: "C3D-UCF101Net"
- layer {
- name: "data"
- type: "VideoData"
- top: "data"
- top: "label"
- include {
- phase: TRAIN
- }
- transform_param {
- crop_size: 112
- mean_value: 128
- mean_value: 128
- mean_value: 128
- mirror: true
- }
- video_data_param {
- source: "train_01.lst"
- root_folder: "/data/users/trandu/datasets/ucf101/frm/"
- new_length: 16
- new_height: 128
- new_width: 171
- use_image: true
- show_data: false
- batch_size: 10
- shuffle: true
- }
- }
- layer {
- name: "data"
- type: "VideoData"
- top: "data"
- top: "label"
- include {
- phase: TEST
- stage: "test-on-train"
- }
- transform_param {
- crop_size: 112
- mean_value: 128
- mean_value: 128
- mean_value: 128
- mirror: false
- }
- video_data_param {
- source: "train_01.lst"
- root_folder: "/data/users/trandu/datasets/ucf101/frm/"
- new_length: 16
- new_height: 128
- new_width: 171
- use_image: true
- show_data: false
- batch_size: 30
- shuffle: true
- }
- }
- layer {
- name: "data"
- type: "VideoData"
- top: "data"
- top: "label"
- include {
- phase: TEST
- stage: "test-on-val"
- }
- transform_param {
- crop_size: 112
- mean_value: 128
- mean_value: 128
- mean_value: 128
- mirror: false
- }
- video_data_param {
- source: "test_01.lst"
- root_folder: "/data/users/trandu/datasets/ucf101/frm/"
- new_length: 16
- new_height: 128
- new_width: 171
- use_image: true
- show_data: false
- batch_size: 30
- shuffle: true
- }
- }
- # ----- 1st group -----
- layer {
- name: "conv1a"
- type: "Convolution3D"
- bottom: "data"
- top: "conv1a"
- param {
- lr_mult: 1
- decay_mult: 1
- }
- param {
- lr_mult: 2
- decay_mult: 0
- }
- convolution3d_param {
- num_output: 64
- kernel_size: 3
- kernel_depth: 3
- stride: 1
- temporal_stride: 1
- pad: 1
- temporal_pad: 1
- weight_filler {
- type: "gaussian"
- std: 0.01
- }
- bias_filler {
- type: "constant"
- value: 0
- }
- }
- }
- layer {
- name: "relu1a"
- type: "ReLU"
- bottom: "conv1a"
- top: "conv1a"
- }
- layer {
- name: "pool1"
- type: "Pooling3D"
- bottom: "conv1a"
- top: "pool1"
- pooling3d_param {
- pool: MAX
- kernel_size: 2
- kernel_depth: 1
- stride: 2
- temporal_stride: 1
- }
- }
- # ----- 2nd group -----
- layer {
- name: "conv2a"
- type: "Convolution3D"
- bottom: "pool1"
- top: "conv2a"
- param {
- lr_mult: 1
- decay_mult: 1
- }
- param {
- lr_mult: 2
- decay_mult: 0
- }
- convolution3d_param {
- num_output: 128
- kernel_size:3
- kernel_depth: 3
- stride: 1
- temporal_stride: 1
- pad: 1
- temporal_pad: 1
- weight_filler {
- type: "gaussian"
- std: 0.01
- }
- bias_filler {
- type: "constant"
- value: 1
- }
- }
- }
- layer {
- name: "relu2a"
- type: "ReLU"
- bottom: "conv2a"
- top: "conv2a"
- }
- layer {
- name: "pool2"
- type: "Pooling3D"
- bottom: "conv2a"
- top: "pool2"
- pooling3d_param {
- pool: MAX
- kernel_size: 2
- kernel_depth: 2
- stride: 2
- temporal_stride: 2
- }
- }
- # ----- 3rd group -----
- layer {
- name: "conv3a"
- type: "Convolution3D"
- bottom: "pool2"
- top: "conv3a"
- param {
- lr_mult: 1
- decay_mult: 1
- }
- param {
- lr_mult: 2
- decay_mult: 0
- }
- convolution3d_param {
- num_output: 256
- kernel_size: 3
- kernel_depth: 3
- stride: 1
- temporal_stride: 1
- pad: 1
- temporal_pad: 1
- weight_filler {
- type: "gaussian"
- std: 0.01
- }
- bias_filler {
- type: "constant"
- value: 1
- }
- }
- }
- layer {
- name: "relu3a"
- type: "ReLU"
- bottom: "conv3a"
- top: "conv3a"
- }
- layer {
- name: "pool3"
- type: "Pooling3D"
- bottom: "conv3a"
- top: "pool3"
- pooling3d_param {
- pool: MAX
- kernel_size: 2
- kernel_depth: 2
- stride: 2
- temporal_stride: 2
- }
- }
- # ----- 4th group -----
- layer {
- name: "conv4a"
- type: "Convolution3D"
- bottom: "pool3"
- top: "conv4a"
- param {
- lr_mult: 1
- decay_mult: 1
- }
- param {
- lr_mult: 2
- decay_mult: 0
- }
- convolution3d_param {
- num_output: 256
- kernel_size: 3
- kernel_depth: 3
- stride: 1
- temporal_stride: 1
- pad: 1
- temporal_pad: 1
- weight_filler {
- type: "gaussian"
- std: 0.01
- }
- bias_filler {
- type: "constant"
- value: 1
- }
- }
- }
- layer {
- name: "relu4a"
- type: "ReLU"
- bottom: "conv4a"
- top: "conv4a"
- }
- layer {
- name: "pool4"
- type: "Pooling3D"
- bottom: "conv4a"
- top: "pool4"
- pooling3d_param {
- pool: MAX
- kernel_size: 2
- kernel_depth: 2
- stride: 2
- temporal_stride: 2
- }
- }
- # ----- 5th group -----
- layer {
- name: "conv5a"
- type: "Convolution3D"
- bottom: "pool4"
- top: "conv5a"
- param {
- lr_mult: 1
- decay_mult: 1
- }
- param {
- lr_mult: 2
- decay_mult: 0
- }
- convolution3d_param {
- num_output: 256
- kernel_size: 3
- kernel_depth: 3
- stride: 1
- temporal_stride: 1
- pad: 1
- temporal_pad: 1
- weight_filler {
- type: "gaussian"
- std: 0.01
- }
- bias_filler {
- type: "constant"
- value: 1
- }
- }
- }
- layer {
- name: "relu5a"
- type: "ReLU"
- bottom: "conv5a"
- top: "conv5a"
- }
- layer {
- name: "pool5"
- type: "Pooling3D"
- bottom: "conv5a"
- top: "pool5"
- pooling3d_param {
- pool: MAX
- kernel_size: 2
- kernel_depth: 2
- stride: 2
- temporal_stride: 2
- }
- }
- # ----- 1st fc group -----
- layer {
- name: "fc6"
- type: "InnerProduct"
- bottom: "pool5"
- top: "fc6"
- param {
- lr_mult: 1
- decay_mult: 1
- }
- param {
- lr_mult: 2
- decay_mult: 0
- }
- inner_product_param {
- num_output: 2048
- weight_filler {
- type: "gaussian"
- std: 0.005
- }
- bias_filler {
- type: "constant"
- value: 1
- }
- }
- }
- layer {
- name: "relu6"
- type: "ReLU"
- bottom: "fc6"
- top: "fc6"
- }
- layer {
- name: "drop6"
- type: "Dropout"
- bottom: "fc6"
- top: "fc6"
- dropout_param {
- dropout_ratio: 0.5
- }
- }
- # ----- 2nd fc group -----
- layer {
- name: "fc7"
- type: "InnerProduct"
- bottom: "fc6"
- top: "fc7"
- param {
- lr_mult: 1
- decay_mult: 1
- }
- param {
- lr_mult: 2
- decay_mult: 0
- }
- inner_product_param {
- num_output: 2048
- weight_filler {
- type: "gaussian"
- std: 0.005
- }
- bias_filler {
- type: "constant"
- value: 1
- }
- }
- }
- layer {
- name: "relu7"
- type: "ReLU"
- bottom: "fc7"
- top: "fc7"
- }
- layer {
- name: "drop7"
- type: "Dropout"
- bottom: "fc7"
- top: "fc7"
- dropout_param {
- dropout_ratio: 0.5
- }
- }
- # ----- 3rd fc group -----
- layer {
- name: "fc8"
- type: "InnerProduct"
- bottom: "fc7"
- top: "fc8"
- param {
- lr_mult: 1
- decay_mult: 1
- }
- param {
- lr_mult: 2
- decay_mult: 0
- }
- inner_product_param {
- num_output: 101
- weight_filler {
- type: "gaussian"
- std: 0.01
- }
- bias_filler {
- type: "constant"
- value: 0
- }
- }
- }
- layer {
- name: "prob"
- type: "Softmax"
- bottom: "fc8"
- top: "prob"
- include {
- phase: TEST
- }
- }
- layer {
- name: "accuracy"
- type: "Accuracy"
- bottom: "prob"
- bottom: "label"
- top: "accuracy/top-1"
- include {
- phase: TEST
- }
- }
- layer {
- name: "accuracy"
- type: "Accuracy"
- bottom: "prob"
- bottom: "label"
- top: "accuracy/top-5"
- include {
- phase: TEST
- }
- accuracy_param {
- top_k: 5
- }
- }
- layer {
- name: "loss"
- type: "SoftmaxWithLoss"
- bottom: "fc8"
- bottom: "label"
- top: "loss"
- }
Add Comment
Please, Sign In to add comment