def __init__(self, pBackbone): super().__init__(pBackbone) from mxnext.backbone.resnext import Builder b = Builder() self.c4, self.c5 = b.get_backbone("mxnet", 101, "c4c5", pBackbone.normalizer, pBackbone.num_group, pBackbone.fp16)
def __init__(self, pBackbone): super().__init__(pBackbone) from mxnext.backbone.resnet_v1d import Builder b = Builder() self.symbol = b.get_backbone(self.p.depth, "c4", pBackbone.normalizer, pBackbone.fp16)
def __init__(self, pBackbone): super().__init__(pBackbone) from mxnext.backbone.resnext import Builder b = Builder() self.symbol = b.get_backbone("mxnet", 50, "c4", pBackbone.normalizer, pBackbone.num_group, pBackbone.fp16)
def __init__(self, pBackbone): super(MXNetResNet101V2C4C5, self).__init__(pBackbone) from mxnext.backbone.resnet_v2 import Builder b = Builder() self.c4, self.c5 = b.get_backbone("mxnet", 101, "c4c5", pBackbone.normalizer, pBackbone.fp16)
def __init__(self, pBackbone): super(ResNet101V1, self).__init__(pBackbone) from mxnext.backbone.resnet_v1 import Builder b = Builder() self.symbol = b.get_backbone("msra", 101, "c4", pBackbone.normalizer, pBackbone.fp16)
def __init__(self, pBackbone): super(MXNetResNet50V2, self).__init__(pBackbone) from mxnext.backbone.resnet_v2 import Builder b = Builder() self.symbol = b.get_backbone("mxnet", 50, "c4", pBackbone.normalizer, pBackbone.fp16)