内容简介:Implementation of the estimation of model size and flop counts for convolutional neural networks.ref:The estimation of flops only consider layers: Convolution, Deconvolution, FullyConnected, Pooling, relu
MXNET-Python Tool For Calculate Flops And Model Size
Implementation of the estimation of model size and flop counts for convolutional neural networks.
ref: https://github.com/albanie/convnet-burden
The estimation of flops only consider layers: Convolution, Deconvolution, FullyConnected, Pooling, relu
Running
python calculateFlops.py -s symbols/caffenet-symbol.json -ds data,1,3,224,224 -ls prob_label,1,1000
('flops: ', '723.007176', ' MFLOPS')
('model size: ', '232.563873291', ' MB')
python calculateFlops.py -s symbols/squeezenet_v1.0-symbol.json -ds data,1,3,224,224 -ls prob_label,1,1000
('flops: ', '861.603864', ' MFLOPS')
('model size: ', '4.76235961914', ' MB')
python calculateFlops.py -s symbols/resnet-101-symbol.json -ds data,1,3,224,224 -ls softmax_label,1,1000
('flops: ', '7818.240488', ' MFLOPS')
('model size: ', '169.912773132', ' MB')
python calculateFlops.py -s symbols/resnext-101-64x4d-symbol.json -ds data,1,3,224,224 -ls softmax_label,1,1000
('flops: ', '15491.88196', ' MFLOPS')
('model size: ', '318.356620789', ' MB')
python calculateFlops.py -s symbols/fcn8s-symbol.json -ds data,1,3,384,384 -ls softmax_label,1,21,384,384
('flops: ', '120420.573296', ' MFLOPS')
('model size: ', '513.037715912', ' MB')
python calculateFlops.py -s symbols/fcn32s-symbol.json -ds data,1,3,384,384 -ls softmax_label,1,21,384,384
('flops: ', '120265.786832', ' MFLOPS')
('model size: ', '519.382160187', ' MB')
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
叠加体验:用互联网思维设计商业模式
穆胜 / 机械工业出版社 / 2014-11 / 39.00
本书在互联网思维改变一切的背景下,详细介绍了如何运用互联网思维重构商业模式,主要包括以下内容:①互联网经济中的商业逻辑(即“互联网思维”),不仅给出了消费方面的逻辑变革,还给出了在生产端的逻辑变革以及“跨界”的逻辑变革。②给出了一个“三层产品体验模型”,厘清了互联网思维,打造完美终端、云端服务和价值群落三层体验,企业可以选择做不同层面的体验组合,这即是选择了不同的市场策略。但是,企业要基业长青,终......一起来看看 《叠加体验:用互联网思维设计商业模式》 这本书的介绍吧!