              filename as key and :class:`lib.faces.detected_face.AlignedFace` object as value.
          """
          retval = dict()
          for side, detected_faces in self._detected_faces.items():
              size = self._training_sizes[side]
              centering = "legacy" if self._alignments_version[side] == 1.0 else "head"
              logger.debug("side: %s, centering: %s", side, centering)
              ret_side = dict()
              for fhash, face in detected_faces.items():
                  face.load_aligned(None, size=size, centering=centering)
                  for filename in self._hash_to_filenames(side, fhash):
                      ret_side[filename] = face.aligned
 
</s> remove                 face.load_aligned(None, size=size, centering=centering)
 </s> add                 face.aligned = AlignedFace(face.landmarks_xy,
                                           centering=self._config["centering"],
                                           size=size,
                                           is_aligned=True) </s> remove         if self._alignments_version[side] == 1.0:
            centering = "legacy"
            size = self._training_sizes[side]
        else:
            centering = self._config["centering"]
            size = list(self._aligned_faces[side].values())[0].get_cropped_size(centering)
 </s> add         size = list(self._aligned_faces[side].values())[0].size </s> remove                            centering=centering,
 </s> add                            centering=self._config["centering"],
              filename as key and :class:`lib.faces.detected_face.AlignedFace` object as value.
          """
          retval = dict()
          for side, detected_faces in self._detected_faces.items():



              ret_side = dict()
              for fhash, face in detected_faces.items():
                  face.load_aligned(None, size=size, centering=centering)
                  for filename in self._hash_to_filenames(side, fhash):
                      ret_side[filename] = face.aligned
keep keep keep keep replace replace replace keep keep keep keep keep
 Bugfix - Warp to landmarks 
plugins/train/trainer/_base.py