Skip to content

Commit

Permalink
back to rmsprop
Browse files Browse the repository at this point in the history
  • Loading branch information
coreylynch committed Jan 31, 2016
1 parent 1411398 commit 342577a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions train.lua
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,7 @@ for i = 1, iterations do
local epoch = i / loader.ntrain

local timer = torch.Timer()
-- local _, loss = optim.rmsprop(feval, params, optim_state)
local _, loss = optim.adam(feval, params, optim_state)
local _, loss = optim.rmsprop(feval, params, optim_state)
if opt.accurate_gpu_timing == 1 and opt.gpuid >= 0 then
--[[
Note on timing: The reported time can be off because the GPU is invoked async. If one
Expand Down

0 comments on commit 342577a

Please sign in to comment.