Skip to content

Commit

Permalink
fixed bug in generation mode of lstm.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
edenton authored Jun 28, 2017
1 parent acfea5e commit 7bb7bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/lstm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function makeLSTM()
local in_pose = {}
for i = 1, opt.nPast+opt.nFuture do
local s = self.s[i - 1]
if i <= opt.nPast+opt.nFuture then
if i <= opt.nPast then
in_pose[i] = pose[i]:clone()
else
in_pose[i] = gen_pose[i-1]:clone()
Expand Down

0 comments on commit 7bb7bba

Please sign in to comment.