code: def __init__(self):
      self.pretrained_model = os.path.join(
          self.directory, "psgan_weight.pdparams"
      )
      cfg = get_config(os.path.join(self.directory, "makeup.yaml"))
      self.network = PSGANPredictor(cfg, self.pretrained_model)
  
imports: import argparse
  import copy
  import os
  import cv2
  import numpy
  import paddle
  from ppgan.utils.config import get_config
  from skimage.io import imread
  from skimage.transform import rescale
  from skimage.transform import resize
  import paddlehub
  from .model import PSGANPredictor
  from .util import base64_to_cv2
  from paddlehub.module.module import moduleinfo
  from paddlehub.module.module import runnable
  from paddlehub.module.module import serving
label_desc: Use image node_id 1 to create a new psgan object  with example: obj = psgan()