1070 640*480 batch 8可以
https://github.com/iamhankai/ghostnet.pytorch/blob/master/ghost_net.py
pvanet
https://blog.csdn.net/jacke121/article/details/104469517/
Ghost Bottleneck(G-bneck)与residual block类似,主要由两个Ghost模块堆叠二次,第一个模块用于增加特征维度,增大的比例称为***expansion ration***,而第二个模块则用于减少特征维度,使其与shortcut一致。G-bneck包含stride=1和stride=2版本,对于stride=2,shortcut路径使用下采样层,并在Ghost模块中间插入stride=2的depthwise卷积。为了加速,Ghost模块的原始卷积均采用pointwise卷积
_make_divisible函数:会对channel进行一些限制,如保证channel的最小值以及是8的倍数