message: add imagenet to pipeline
diff: @@ -21,12 +21,13 @@ import logging
  import numpy as np
  import base64, cv2
  +
  class ImagenetOp(Op):
  def init_op(self):
  self.seq = Sequential([
  - Resize(256), CenterCrop(224), RGB2BGR(), Transpose(
  - (2, 0, 1)), Div(255), Normalize([0.485, 0.456, 0.406],
  - [0.229, 0.224, 0.225], True)
  + Resize(256), CenterCrop(224), RGB2BGR(), Transpose((2, 0, 1)),
  + Div(255), Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225],
  + True)
  ])
  self.label_dict = {}
  label_idx = 0
  @@ -44,7 +45,6 @@ class ImagenetOp(Op):
  img = self.seq(im)
  return {"image": img[np.newaxis, :].copy()}, False, None, ""
  -
  def postprocess(self, input_dicts, fetch_dict, log_id):
  print(fetch_dict)
  score_list = fetch_dict["score"]
  @@ -59,7 +59,6 @@ class ImagenetOp(Op):
  return result, None, ""
  -
  class ImageService(WebService):
  def get_pipeline_response(self, read_op):
  image_op = ImagenetOp(name="imagenet", input_ops=[read_op])
  