code: def _init_base_config(self):
      self.pred_cfg = PredictConfig(self.cfg.model, self.cfg.params)
      if not self.args.print_detail:
          self.pred_cfg.disable_glog_info()
      self.pred_cfg.enable_memory_optim()
      self.pred_cfg.switch_ir_optim(True)
  
imports: import os
  import os.path
  import argparse
  from ast import literal_eval
  import numpy
  from PIL import Image
  from paddle.inference import create_predictor, PrecisionType
  from paddle.inference import Config
  from paddleseg.utils import logger, get_image_list
  from paddleseg.deploy.infer import DeployConfig
  from paddlepanseg.cvlibs.info_dicts import build_info_dict
  from paddlepanseg.transforms.functional import id2rgb
label_desc: Use image node_id 2 for calling the Predictor obj's underlying member method code with example usage: obj._init_base_config() without return types