code: def print_cfg(self):
      print("----------- Environment Arguments -----------")
      buffer = yaml.dump(self.env_cfg)
      print(buffer)
      print("------------- Model Arguments ---------------")
      buffer = yaml.dump(self.model_cfg)
      print(buffer)
      print("---------------------------------------------")
  
file_path: PaddleSeg/contrib/QualityInspector/qinspector/cvlib/configs.py
imports: import copy
  from argparse import ArgumentParser, RawDescriptionHelpFormatter
  from collections.abc import Mapping, Sequence
  import yaml
  from qinspector.utils.logger import setup_logger
label_desc: Use image node_id 4 for calling the ConfigParser obj's underlying member method code with example usage: obj.print_cfg() without return types