          * **warp_to_landmarks** (`bool`) - ``True`` if the random warp method should warp to \
          similar landmarks from the other side, ``False`` if the standard random warp method \
          should be used. If ``True`` then the additional key ``landmarks`` must be provided.
  
          * **landmarks** (`numpy.ndarray`, `optional`). Required if :attr:`warp_to_landmarks` is \
          ``True``. The 68 point face landmarks from an alignments file.
  
      config: dict
          The configuration ``dict`` generated from :file:`config.train.ini` containing the trainer \
          plugin configuration options.
      """
 
</s> remove             the format (`batchsize`, `height`, `width`, `1`).
 </s> add             the format (`batchsize`, `height`, `width`, `1`). **NB:** This item will only exist \
            in the ``dict`` if the :attr:`mask_type` is not ``None`` </s> remove             the format (`batchsize`, `height`, `width`, `1`).
 </s> add             the format (`batchsize`, `height`, `width`, `1`). **NB:** This item will only exist \
            in the ``dict`` if a batch of 4 channel images has been passed in :attr:`batch` </s> remove         config item ``warp_to_landmarks`` is ``True``. If the landmarks for an image cannot be
        found, then an error is raised. """
 </s> add         config item ``warp_to_landmarks`` is ``True`` or if :attr:`mask_type` is not ``None``. If
        the landmarks for an image cannot be found, then an error is raised. """ </s> remove         dict of `{name (str): mask (numpy.ndarray)}
 </s> add         dict of {**name** (`str`): :class:`Mask`}.
        * **landmarks** (`numpy.ndarray`, `optional`). Required if using a :attr:`mask_type` is \
        not ``None`` or :attr:`warp_to_landmarks` is ``True``. The 68 point face landmarks from \
        an alignments file.
          * **warp_to_landmarks** (`bool`) - ``True`` if the random warp method should warp to \
          similar landmarks from the other side, ``False`` if the standard random warp method \
          should be used. If ``True`` then the additional key ``landmarks`` must be provided.
  
        * **landmarks** (`numpy.ndarray`, `optional`). Required if using a :attr:`mask_type` is \
        not ``None`` or :attr:`warp_to_landmarks` is ``True``. The 68 point face landmarks from \
        an alignments file.
        * **landmarks** (`numpy.ndarray`, `optional`). Required if using a :attr:`mask_type` is \
        not ``None`` or :attr:`warp_to_landmarks` is ``True``. The 68 point face landmarks from \
        an alignments file.
  
      config: dict
          The configuration ``dict`` generated from :file:`config.train.ini` containing the trainer \
          plugin configuration options.
      """
keep keep keep keep replace replace keep keep keep keep keep
 Serialize masks to alignments file

- Add new serializers (npy + compressed)
- Remove Serializer option from cli
- Revert get_aligned call in scripts/extract
- Default alignments to compressed
- Size masks to 128px and compress
- Remove mask thresholding/blur from generation code
- Add Mask class to lib/faces_detect
- Revert debug landmarks to aligned face
- Revert non-extraction code to staging version 
lib/training_data.py