docstr: Initialize with the necessary elements
docstr_tok: ["Initialize","with","the","necessary","elements"]
code: def __init__(self):
      """
      Initialize with the necessary elements
      """
      # 加载模型路径
      self.default_pretrained_model_path = os.path.join(
          self.directory, "assets", "infer_model", "model"
      )
      self._set_config()
  
file_path: PaddleHub/modules/image/semantic_segmentation/Extract_Line_Draft/module.py
imports: import argparse
  import ast
  import os
  import cv2
  from pathlib import Path
  from paddle.inference import Config, create_predictor
  from paddlehub.module.module import runnable, moduleinfo
  import numpy
  from .function import get_light_map_single, normalize_pic, resize_img_512_3d, show_active_img_and_save_denoise
label_desc: Use image node_id 1 to create a new ExtractLineDraft object  with example: obj = ExtractLineDraft()