@run_once()
def setup_loggers(output_dir, color=None):
    if (not color):
        color = (get_launch_environment() == 'local')
    d2_logger = setup_logger(output_dir, distributed_rank=comm.get_rank(), color=color, name='detectron2', abbrev_name='d2')
    fvcore_logger = setup_logger(output_dir, distributed_rank=comm.get_rank(), color=color, name='fvcore')
    d2go_logger = setup_logger(output_dir, distributed_rank=comm.get_rank(), color=color, name='d2go', abbrev_name='d2go')
    mobile_cv_logger = setup_logger(output_dir, distributed_rank=comm.get_rank(), color=color, name='mobile_cv', abbrev_name='mobile_cv')
    d2_logger.propagate = False
    fvcore_logger.propagate = False
    d2go_logger.propagate = False
    mobile_cv_logger.propagate = False
@run_once()
def setup_loggers(output_dir, color=None):
    if (not color):
        color = (get_launch_environment() == 'local')
    d2_logger = setup_logger(output_dir, distributed_rank=comm.get_rank(), color=color, name='detectron2', abbrev_name='d2')
    fvcore_logger = setup_logger(output_dir, distributed_rank=comm.get_rank(), color=color, name='fvcore')
    d2go_logger = setup_logger(output_dir, distributed_rank=comm.get_rank(), color=color, name='d2go', abbrev_name='d2go')
    mobile_cv_logger = setup_logger(output_dir, distributed_rank=comm.get_rank(), color=color, name='mobile_cv', abbrev_name='mobile_cv')
    d2_logger.propagate = False
    fvcore_logger.propagate = False
    d2go_logger.propagate = False
    mobile_cv_logger.propagate = False