class_docstr: Wrap an augmentor form the IAA library: https://github.com/aleju/imgaug.
  Both images and coordinates are supported.
  
  Note:
      1. It's NOT RECOMMENDED
         to use coordinates because the IAA library does not handle coordinates accurately.
  
      2. Only uint8 images are supported by the IAA library.
  
      3. The IAA library can only produces images of the same shape.
  
  Example:
  
  .. code-block:: python
  
      from imgaug import augmenters as iaa  # this is the aleju/imgaug library
      from tensorpack import imgaug  # this is not the aleju/imgaug library
      # or from dataflow import imgaug  # if you're using the standalone version of dataflow
      myaug = imgaug.IAAugmentor(
          iaa.Sequential([
              iaa.Sharpen(alpha=(0, 1), lightness=(0.75, 1.5)),
              iaa.Fliplr(0.5),
              iaa.Crop(px=(0, 100)),
          ])
class_docstr_tok: ["Wrap","an","augmentor","form","the","IAA","library",":","https",":","\/\/github.com\/aleju\/imgaug",".","Both","images","and","coordinates","are","supported",".","Note",":","1",".","It","'s","NOT","RECOMMENDED","to","use","coordinates","because","the","IAA","library","does","not","handle","coordinates","accurately",".","2",".","Only","uint8","images","are","supported","by","the","IAA","library",".","3",".","The","IAA","library","can","only","produces","images","of","the","same","shape",".","Example",":","..","code-block",":",":","python","from","imgaug","import","augmenters","as","iaa","#","this","is","the","aleju\/imgaug","library","from","tensorpack","import","imgaug","#","this","is","not","the","aleju\/imgaug","library","#","or","from","dataflow","import","imgaug","#","if","you","'re","using","the","standalone","version","of","dataflow","myaug","=","imgaug.IAAugmentor","(","iaa.Sequential","(","[","iaa.Sharpen","(","alpha=","(","0",",","1",")",",","lightness=","(","0.75",",","1.5",")",")",",","iaa.Fliplr","(","0.5",")",",","iaa.Crop","(","px=","(","0",",","100",")",")",",","]",")"]
code: def get_transform(self, img):
      return IAATransform(self._aug.to_deterministic(), img.shape)
  
file_path: tensorpack/tensorpack/dataflow/imgaug/external.py
imports: import numpy
  from .base import ImageAugmentor
  from .transform import Transform
label_desc: Use image node_id 2 for calling the IAAugmentor obj's underlying member method code with example usage: obj.get_transform(img) and returns: IAATransform