<gh_stars>0
"""
This file is adapted from https://github.com/jfzhang95/pytorch-deeplab-xception
"""

from . import resnet


def build_backbone(backbone, output_stride, BatchNorm, pretrained_backbone_url):
    if backbone == 'resnet':
        return resnet.ResNet101(output_stride, BatchNorm, pretrained_backbone_url)
    else:
        raise NotImplementedError

"""
This file is adapted from https://github.com/jfzhang95/pytorch-deeplab-xception
"""

from . import resnet


def build_backbone(backbone, output_stride, BatchNorm, pretrained_backbone_url):
    if backbone == 'resnet':
        return resnet.ResNet101(output_stride, BatchNorm, pretrained_backbone_url)
    else:
        raise NotImplementedError
This file is adapted from https://github.com/jfzhang95/pytorch-deeplab-xception