code: def __init__(self, path):
      with codecs.open(path, "r", "utf-8") as file:
          self.dic = yaml.load(file, Loader=yaml.FullLoader)
  
      self._transforms = self.load_transforms(
          self.dic["Deploy"]["transforms"]
      )
      self._dir = os.path.dirname(path)
  
file_path: PaddleSeg/paddleseg/deploy/infer.py
imports: import codecs
  import os
  import yaml
  import paddleseg.transforms
  from paddleseg.cvlibs import manager
label_desc: Use image node_id 1 to create a new DeployConfig object  with example: obj = DeployConfig(path)