docstr: Run as a service.
docstr_tok: ["Run","as","a","service","."]
code: def serving_method(self, images, **kwargs):
      """
      Run as a service.
      """
      images_decode = copy.deepcopy(images)
      for image in images_decode:
          image["content"] = base64_to_cv2(image["content"])
          image["style"] = base64_to_cv2(image["style"])
      results = self.makeup_transfer(images_decode, **kwargs)
      tolist = [result.tolist() for result in results]
      return tolist
  
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 4 for calling the psgan obj's underlying member method code with example usage: obj.serving_method(images) and returns: tolist