Skip to content

Commit

Permalink
Merge pull request #45 from rickymf4/master
Browse files Browse the repository at this point in the history
modify lstm ouput for aggregated model
  • Loading branch information
LeegleechN committed Apr 15, 2017
2 parents e62788a + 21cc44e commit 6d0c91d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frame_level_models.py
Expand Up @@ -217,9 +217,9 @@ def create_model(self, model_input, vocab_size, num_frames, **unused_params):
stacked_lstm = tf.contrib.rnn.MultiRNNCell(
[
tf.contrib.rnn.BasicLSTMCell(
lstm_size, forget_bias=1.0, state_is_tuple=False)
lstm_size, forget_bias=1.0)
for _ in range(number_of_layers)
], state_is_tuple=False)
])

loss = 0.0

Expand All @@ -231,6 +231,6 @@ def create_model(self, model_input, vocab_size, num_frames, **unused_params):
FLAGS.video_level_classifier_model)

return aggregated_model().create_model(
model_input=state,
model_input=state[-1].h,
vocab_size=vocab_size,
**unused_params)

0 comments on commit 6d0c91d

Please sign in to comment.