code: def __init__(self):
      self.input_size = (512, 512)
      self.up_ratio = 0.6 / 0.85
      self.down_ratio = 0.2 / 0.85
      self.width_ratio = 0.2 / 0.85
      self.face_parser = futils.mask.FaceParser()
  
file_path: PaddleHub/modules/image/Image_gan/style_transfer/face_parse/model.py
imports: import os
  import sys
  import argparse
  from PIL import Image
  import numpy
  import cv2
  import ppgan.faceutils
  from ppgan.utils.preprocess import *
  from ppgan.utils.visual import mask2image
label_desc: Use image node_id 1 to create a new FaceParsePredictor object  with example: obj = FaceParsePredictor()