code: def default_loggers() -> Sequence["BaseLogger"]:
      if DistributedHelper.is_main_process:
          return [InteractiveLogger()]
      else:
          return []
  
imports: import warnings
  from copy import copy
  from collections import defaultdict
  from typing import Any, Callable, Dict, List, Optional, Tuple, Union, Sequence, TYPE_CHECKING
  from avalanche.distributed.distributed_helper import DistributedHelper
  from avalanche.evaluation.metric_results import MetricValue
  from avalanche.evaluation.metrics import accuracy_metrics, loss_metrics
  from avalanche.logging import InteractiveLogger
label_desc: Use image node_id 2 for calling a global function with example usage: default_loggers() and returns: list, list