def resnet152(pretrained_model=None, **kwargs): model = ResNet(Bottleneck, [3, 8, 36, 3], **kwargs) if pretrained_model is not None: model = load_model(model, pretrained_model) return model
def xception39(pretrained_model=None, **kwargs): model = Xception(Block, [4, 8, 4], [16, 32, 64], **kwargs) if pretrained_model is not None: model = load_model(model, pretrained_model) return model
def resnet34(pretrained_model=None, **kwargs): model = ResNet(BasicBlock, [3, 4, 6, 3], **kwargs) if pretrained_model is not None: model = load_model(model, pretrained_model) return model