code: def __init__(self):
      super(ID_Photo_GEN, self).__init__()
      # 加载人脸关键点检测模型
      self.face_detector = hub.Module(name="face_landmark_localization")
  
      # 加载人脸分割模型
      self.seg = hub.Module(name="FCN_HRNet_W18_Face_Seg")
  
file_path: PaddleHub/modules/image/Image_gan/style_transfer/ID_Photo_GEN/module.py
imports: import os
  import cv2
  import math
  import paddle
  import numpy
  import paddle.nn
  import paddlehub
  from paddlehub.module.module import moduleinfo
label_desc: Use image node_id 1 to create a new ID_Photo_GEN object from inherited base classes: nn with example: obj = ID_Photo_GEN()