Created
March 6, 2018 21:25
-
-
Save soulslicer/5461213e7b28f48253f6bd01721b3663 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "LSTM" | |
input: "data" | |
# T = 320 time_steps, N = 1 streams, 1-D data | |
input_shape { dim: 320 dim: 1 dim: 1} | |
input: "clip" | |
input_shape { dim: 320 dim: 1 } | |
input: "label" | |
input_shape { dim: 320 dim: 1 } | |
layer { | |
name: "Silence" | |
type: "Silence" | |
bottom: "label" | |
include: { phase: TEST } | |
} | |
layer { | |
name: "lstm" | |
type: "LSTM" | |
bottom: "data" | |
bottom: "clip" | |
top: "lstm" | |
recurrent_param { | |
num_output: 15 | |
#clip_gradients: 0.1 | |
weight_filler { | |
type: "gaussian" | |
std: 0.1 | |
} | |
bias_filler { | |
type: "constant" | |
} | |
} | |
} | |
layer { | |
name: "ip1" | |
type: "InnerProduct" | |
bottom: "lstm" | |
top: "ip1" | |
inner_product_param { | |
num_output: 1 | |
weight_filler { | |
type: "gaussian" | |
std: 0.1 | |
} | |
bias_filler { | |
type: "constant" | |
} | |
} | |
} | |
layer { | |
name: "loss" | |
type: "EuclideanLoss" | |
bottom: "ip1" | |
bottom: "label" | |
top: "loss" | |
include: { phase: TRAIN } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment