def _get_cfg(self, tmp_dir: str) -> CfgNode: cfg = mah.create_detection_cfg(GeneralizedRCNNTask, tmp_dir) cfg.TEST.EVAL_PERIOD = cfg.SOLVER.MAX_ITER return cfg
def _get_cfg(self, tmp_dir) -> CfgNode: return mah.create_detection_cfg(GeneralizedRCNNTask, tmp_dir)