class_docstr: set config of preprocess, postprocess and visualize
  Args:
      model_dir (str): root path of infer_cfg.yml
class_docstr_tok: ["set","config","of","preprocess",",","postprocess","and","visualize","Args",":","model_dir","(","str",")",":","root","path","of","infer_cfg.yml"]
code: def print_config(self):
      print("-----------  Model Configuration -----------")
      print("%s: %s" % ("Model Arch", self.arch))
      print("%s: " % ("Transform Order"))
      for op_info in self.preprocess_infos:
          print("--%s: %s" % ("transform op", op_info["type"]))
      print("--------------------------------------------")
  
imports: import copy
  from paddle_serving_server.web_service import WebService, Op
  from paddle_serving_server.proto import general_model_config_pb2
  import google.protobuf.text_format
  import os
  import numpy
  import base64
  from PIL import Image
  import io
  from preprocess_ops import Compose
  from postprocess_ops import HRNetPostProcess
  from argparse import ArgumentParser, RawDescriptionHelpFormatter
  import yaml
label_desc: Use image node_id 3 for calling the PredictConfig obj's underlying member method code with example usage: obj.print_config() without return types