In [ ]:
require 'image';
Plot = require 'itorch.Plot';
param_plot_gradients = true
param_plot_loss = true
In [ ]:
local last = os.clock()
xlua.progress = function(i, n)
-- make progress bar really slow in itorch
if os.clock() - last > 30 then -- 15 seconds
print('Progress: ' .. i .. ' / ' .. n)
last = os.clock()
end
end
In [ ]:
paths.dofile('./../train_net.lua')
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]: