How can I save a checkpoint in Detectron2, using a DefaultTrainer? This is my setup:
cfg = get_cfg() cfg.merge_from_file(model_zoo.get_config_file("COCO-Inst