- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 [torch]memory leakage
https://github.com/torch/torch7/issues/229 https://groups.google.com/forum/#!topic/torch7/POColSrmlzk在学校的超级计算机上训练模型,跑了2h15min左右之后说是memory超过了25g, 任务被终止了.于是我在lua里写了print("memory:"..collectgarbage("count
2017-05-25 12:48:23 772
原创 [torch] remove layers from the model
https://github.com/torch/nn/blob/master/doc/containers.mdodel = nn.Sequential()model:add(nn.Linear(10, 20))model:add(nn.Linear(20, 20))model:add(nn.Linear(20, 30))model:remove(2)> modelnn.Sequent
2017-05-22 12:40:18 787
转载 [torch]optim.sgd学习参数
https://stats.stackexchange.com/questions/29130/difference-between-neural-net-weight-decay-and-learning-ratelearning rateThe learning rate is a parameter that determines how much an updating step influ
2017-05-19 15:46:40 9401
原创 [torch]Getting the Output of a Layer
https://groups.google.com/forum/#!topic/torch7/R9DAdx95aqcrequire 'cutorch'require 'cunn'require 'rnn'require 'os'--[[net = nn.Sequential()net:add(nn.FastLSTM(10,3))net:add(nn.Linear(3,4))net:a
2017-05-10 18:17:49 421
原创 [torch]create a new criterion(cross entropy)
http://blog.csdn.net/u010167269/article/details/51966427IntroductionCrossentropyCriterion in torchCrossEntropyCriterion and ClassNLLCriterion only support with hard targets.For examples, i
2017-05-08 19:20:47 3746
原创 [torch]criterion/maskzero
require 'nn'require 'rnn'maxzero = 1if maxzero == 1 then y_ = torch.Tensor{{1,5,2},{0,5,2},{0,0,0}} y = torch.Tensor{{2,3,1},{0,5,4},{0,0,0}} y = torch.Tensor{{2,3,1},{0,5,4},
2017-05-06 13:15:14 703
matlab画图不要白边
2015-04-21
matlab_hog
2015-01-21
matlab提取hsv,rgb,lab
2014-11-07
KLT_MATLAB
2013-10-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人