docstr: Run as a service.
docstr_tok: ["Run","as","a","service","."]
code: def serving_method(self, images, **kwargs):
      """
      Run as a service.
      """
      images_decode = [base64_to_cv2(image) for image in images]
      results = self.bald(images=images_decode, **kwargs)
      output = {}
      for key, value in results[0].items():
          output[key] = cv2_to_base64(value)
  
      return output
  
file_path: PaddleHub/modules/image/Image_gan/gan/stgan_bald/module.py
imports: import os
  import copy
  import paddle
  import numpy
  from paddle.inference import Config, create_predictor
  from paddlehub.module.module import moduleinfo, serving
  from .data_feed import reader
  from .processor import postprocess, base64_to_cv2, cv2_to_base64
label_desc: Use image node_id 4 for calling the StganBald obj's underlying member method code with example usage: obj.serving_method(images) and returns: output