@staticmethod
def get(name):
    if name.startswith('Caffe2Detectron/COCO'):
        return ModelCatalog.get_c2_detectron_12_2017_baselines(name)
    if name.startswith('ImageNetPretrained'):
        return ModelCatalog.get_c2_imagenet_pretrained(name)
    raise RuntimeError('model not present in the catalog {}'.format(name))
@staticmethod
def get(name):
    if name.startswith('Caffe2Detectron/COCO'):
        return ModelCatalog.get_c2_detectron_12_2017_baselines(name)
    if name.startswith('ImageNetPretrained'):
        return ModelCatalog.get_c2_imagenet_pretrained(name)
    raise RuntimeError('model not present in the catalog {}'.format(name))