def get_inference_augmentor():
    meta = ILSVRCMeta()
    pp_mean = meta.get_per_pixel_mean()
    pp_mean_224 = pp_mean[16:(- 16), 16:(- 16), :]
    transformers = imgaug.AugmentorList([imgaug.ResizeShortestEdge(256), imgaug.CenterCrop((224, 224)), imgaug.MapImage((lambda x: (x - pp_mean_224)))])
    return transformers
def get_inference_augmentor():
    meta = ILSVRCMeta()
    pp_mean = meta.get_per_pixel_mean()
    pp_mean_224 = pp_mean[16:(- 16), 16:(- 16), :]
    transformers = imgaug.AugmentorList([imgaug.ResizeShortestEdge(256), imgaug.CenterCrop((224, 224)), imgaug.MapImage((lambda x: (x - pp_mean_224)))])
    return transformers