Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
shuangjiexu authored Aug 5, 2017
1 parent d5a563b commit 5918689
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions videoReid.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ cmd:option('-momentum',0.9)
cmd:option('-nConvFilters',32)
cmd:option('-embeddingSize',128)
cmd:option('-hingeMargin',2)
cmd:option('-mode','spatial_temproal','four mode: cnn-rnn, spatial, temporal, spatial_temporal')
cmd:option('-mode','spatial_temporal','four mode: cnn-rnn, spatial, temporal, spatial_temporal')

opt = cmd:parse(arg)
print(opt)
Expand All @@ -82,11 +82,11 @@ elseif opt.mode == 'spatial' then
opt.spatial = 1
opt.temproal = 0
elseif opt.mode == 'temporal' then
require 'models/spatial_temproal'
require 'models/spatial_temporal'
opt.spatial = 0
opt.temproal = 1
elseif opt.mode == 'spatial_temporal' then
require 'models/spatial_temproal'
require 'models/spatial_temporal'
opt.spatial = 1
opt.temproal = 1
else
Expand Down

0 comments on commit 5918689

Please sign in to comment.