def get_model_no_weights(config_path):
    """
    Like model_zoo.get, but do not load any weights (even pretrained)
    """
    cfg = model_zoo.get_config(config_path)
    if not torch.cuda.is_available():
        cfg.MODEL.DEVICE = "cpu"
    return build_model(cfg)

    Like model_zoo.get, but do not load any weights (even pretrained)
    
video_chat_with_StableLM/models/grit_src/third_party/CenterNet2/detectron2/utils/testing.py