class_docstr: padding image for model with FPN, instead PadBatch(pad_to_stride) in original config
  Args:
      stride (bool): model with FPN need image shape % stride == 0
class_docstr_tok: ["padding","image","for","model","with","FPN",",","instead","PadBatch","(","pad_to_stride",")","in","original","config","Args",":","stride","(","bool",")",":","model","with","FPN","need","image","shape","%","stride","==","0"]
code: def __init__(self, stride=0):
      self.coarsest_stride = stride
  
imports: import cv2
  import numpy
  import imgaug.augmenters
  from keypoint_preprocess import get_affine_transform
  from PIL import Image
label_desc: Use image node_id 1 to create a new PadStride object from inherited base classes: object with example: obj = PadStride(stride)