code: def show_cfg_info(config):
      msg = "\n---------------Config Information---------------\n"
      ordered_module = (
          "batch_size",
          "iters",
          "train_dataset",
          "val_dataset",
          "optimizer",
          "lr_scheduler",
          "loss",
          "model",
      )
      all_module = set(config.dic.keys())
      for module in ordered_module:
          if module in config.dic:
              module_dic = {module: config.dic[module]}
              msg += str(yaml.dump(module_dic, Dumper=NoAliasDumper))
              all_module.remove(module)
      for module in all_module:
          module_dic = {module: config.dic[module]}
          msg += str(yaml.dump(module_dic, Dumper=NoAliasDumper))
      msg += "------------------------------------------------\n"
      logger.info(msg)
  
imports: import os
  import contextlib
  import tempfile
  import random
  from urllib.parse import urlparse, unquote
  import yaml
  import numpy
  import paddle
  import cv2
  from paddleseg.utils import logger, seg_env, get_sys_env
  from paddleseg.utils.download import download_file_and_uncompress
label_desc: Use image node_id 3 for calling a global function with example usage: show_cfg_info(config) without return types