https://github.com/aghodrati/deepproposal
Tip revision: fa1f60675b5e651f6b6c7b07cfa2a611ec27951b authored by aghodrati on 03 May 2016, 13:37:50 UTC
Update README.md
Update README.md
Tip revision: fa1f606
net_stat.m
function nchannel = net_stat( net )
nchannel = zeros(1, length(net.layers));
for i=1:length(net.layers)
t = net.layers{i}.type;
if strcmp(t, 'conv') == 1
nchannel(i) = size(net.layers{i}.weights{1,1}, 4);
else
nchannel(i) = nchannel(i-1);
end
end