def detr_resnet101(pretrained=False, num_classes=91, return_postprocessor=False):
    '\n    DETR-DC5 R101 with 6 encoder and 6 decoder layers.\n\n    Achieves 43.5/63.8 AP/AP50 on COCO val5k.\n    '
    model = _make_detr('resnet101', dilation=False, num_classes=num_classes)
    if pretrained:
        checkpoint = torch.hub.load_state_dict_from_url(url='https://dl.fbaipublicfiles.com/detr/detr-r101-2c7b67e5.pth', map_location='cpu', check_hash=True)
        model.load_state_dict(checkpoint['model'])
    if return_postprocessor:
        return (model, PostProcess())
    return model
DETR-DC5 R101 with 6 encoder and 6 decoder layers.

Achieves 43.5/63.8 AP/AP50 on COCO val5k.
def detr_resnet101(pretrained=False, num_classes=91, return_postprocessor=False):
    '\n    DETR-DC5 R101 with 6 encoder and 6 decoder layers.\n\n    Achieves 43.5/63.8 AP/AP50 on COCO val5k.\n    '
    model = _make_detr('resnet101', dilation=False, num_classes=num_classes)
    if pretrained:
        checkpoint = torch.hub.load_state_dict_from_url(url='https://dl.fbaipublicfiles.com/detr/detr-r101-2c7b67e5.pth', map_location='cpu', check_hash=True)
        model.load_state_dict(checkpoint['model'])
    if return_postprocessor:
        return (model, PostProcess())
    return model