code: def __init__(self, name=None, directory=None):
      super(ExtremeC3_Portrait_Segmentation, self).__init__()
      # 设置模型路径
      self.model_path = os.path.join(self.directory, "ExtremeC3")
  
      # 加载模型
      self.model = paddle.jit.load(self.model_path)
      self.model.eval()
  
      # 均值方差
      self.mean = [107.304565, 115.69884, 132.35703]
      self.std = [63.97182, 65.1337, 68.29726]
  
file_path: PaddleHub/modules/image/semantic_segmentation/ExtremeC3_Portrait_Segmentation/module.py
imports: import os
  import cv2
  import paddle
  import numpy
  from paddle.nn import Layer
  from paddlehub.module.module import moduleinfo
label_desc: Use image node_id 1 to create a new ExtremeC3_Portrait_Segmentation object from inherited base classes: Layer with example: obj = ExtremeC3_Portrait_Segmentation(name, directory)