实现使用Res2Net结构作为Yolact的主干网络
1.官方代码可自行下载
下载链接:https://github.com/dbolya/yolacthttps://github.com/dbolya/yolact2.实现
2.1 参考Res2Net的构建
下载链接:https://github.com/Res2Net/Res2Net-PretrainedModelshttps://github.com/Res2Net/Res2Net-PretrainedModels2.2 借鉴Res2Net中的Bottle2neck以及Res2Net类结构
2.2.1 Bottle2neck类源码
class Bottle2neck(nn.Module):
expansion = 4
def __init__(self, inplanes, planes, stride=1, downsample=None, baseWidth=26, scale = 4, stype='normal'):
""" Constru
共有 0 条评论