引用tensorflow mobilenetv1模型:https://github.com/tensorflow/models/blob/9f7a5fa353df0ee2010f8e7a5494ca6b188af8bc/research/slim/nets/mobilenet_v1.py#L171
参数 depth_multiplier 记录为:
depth_multiplier: Float multiplier for the depth (number of channels) for all convolution ops. The value must be greater than zero. Typical usage will be to set this value in (0, 1) to reduce the number of parameters or computation cost of the model
但是在( paper )中,他们提到了两种类型的乘数:宽度乘数和分辨率乘数,那么哪一种对应深度乘数?
在 Keras , 他们说:
depth_multiplier: depth multiplier for depthwise convolution (also called the resolution multiplier)
我很困惑!
最佳答案
如 paper 中所述:
在 code :
depth_multiplier 用于减少每一层的 channel 数。 因此depth_multiplier 对应于宽度乘数α。
关于tensorflow - 什么是 MobileNetv1 depth_multiplier?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49993541/