LFFD: A Light and Fast Face Detector for Edge Devices
论文链接:https://arxiv.org/pdf/1904.10633.pdf
Pytorch代码: https://github.com/shanglianlm0525/PyTorch-Networks
Pytorch代码
import torch
import torch.nn as nn
def Conv1x1ReLU(in_channels,out_channels):
return nn.Sequential(
nn.Conv2d(in_channels=in_channels, out_channels=out_channels, kernel_size=1, stride=1),
nn.ReLU6(inplace=True)