                       self.__class__.__name__, side, len(images), batch_size)
          self.model = model
          self.use_mask = use_mask
          self.side = side
          self.target = None
          self.samples = None
          self.mask = None
  
 
</s> remove         self.target = batch[1] if do_preview else None
 </s> add         self.generate_preview(do_preview) </s> remove         self.samples = batch[0] if do_preview else None
 </s> add  </s> remove         do_preview = False if viewer is None else True
        do_timelapse = False if timelapse_kwargs is None else True
 </s> add         do_preview = viewer is not None
        do_timelapse = timelapse_kwargs is not None </s> remove     def minibatch_ab(self, images, batchsize, side, do_shuffle=True, is_timelapse=False):
 </s> add     def minibatch_ab(self, images, batchsize, side,
                     do_shuffle=True, is_preview=False, is_timelapse=False):
        self.images = images
                       self.__class__.__name__, side, len(images), batch_size)
          self.model = model
          self.use_mask = use_mask
          self.side = side
        self.images = images
          self.target = None
          self.samples = None
          self.mask = None
  
keep keep keep add keep keep keep keep
 Color Augmentation method (#752)

* Color Augmentation: Implement testing code

* Tweak Contrast and Lighting augmentation amounts

* Prevent color augmentation from entering timelapse

* Remove all augmentations from preview images 
plugins/train/trainer/_base.py