          retval = dict()
          for side, detected_faces in self._detected_faces.items():
              ret_side = dict()
              for fhash, face in detected_faces.items():
                  face.aligned = AlignedFace(face.landmarks_xy,
                                             centering=self._config["centering"],
                                             size=size,
                                             is_aligned=True)
 
</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             size = self._training_sizes[side]
            centering = "legacy" if self._alignments_version[side] == 1.0 else "head"
            logger.debug("side: %s, centering: %s", side, centering)
 </s> add  </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         self._hashes, self._training_sizes = self._get_image_hashes(image_list)
 </s> add         self._hashes, sizes = self._get_image_hashes(image_list)
 </s> remove         self._aligned_faces = self._get_aligned_faces()
 </s> add         self._aligned_faces = self._get_aligned_faces(sizes)
            size = get_centered_size("legacy" if self._alignments_version[side] == 1.0 else "head",
                                     self._config["centering"],
                                     input_sizes[side])
          retval = dict()
          for side, detected_faces in self._detected_faces.items():
              ret_side = dict()
            size = get_centered_size("legacy" if self._alignments_version[side] == 1.0 else "head",
                                     self._config["centering"],
                                     input_sizes[side])
              for fhash, face in detected_faces.items():
                  face.aligned = AlignedFace(face.landmarks_xy,
                                             centering=self._config["centering"],
                                             size=size,
                                             is_aligned=True)
keep keep add keep keep keep keep keep
 Bugfix - Warp to landmarks 
plugins/train/trainer/_base.py