摘要: 在研究 Retinaface 网络结构时候,有个疑惑,作者怎么把 MobileNetV1 的三个 stage 输出分别接到 FPN 上面的,我注意到下面的代码: import torchvision.models._utils as _utils # 使用 _utils.IntermediateLa 阅读全文
posted @ 2022-09-15 18:54 cold_moon 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 参考: https://zhuanlan.zhihu.com/p/127194294 代码实现: def conv_dw(inp, oup, stride, leaky=0.1): return nn.Sequential( nn.Conv2d(inp, inp, 3, stride, 1, gro 阅读全文
posted @ 2022-09-15 18:20 cold_moon 阅读(35) 评论(0) 推荐(0) 编辑