                     "in side '{}' have mismatched sizes {} and {}.\nPlease double check "
                     "your dataset".format(side.upper(), self._image_sizes[side], width))
              raise FaceswapError(msg)
  
      def _update_legacy_facesets(self):
          """ Update the png header data for legacy face sets that do not contain the meta data in
          the exif header.
          """
          if self._validate_metadata(output_warning=False):
              logger.debug("All faces contain valid header information")
 
</s> remove                         png_meta[images[future]] = detected_face
 </s> add                         png_meta[filename] = detected_face </s> remove         self._update_legacy_facesets()
 </s> add         self._update_legacy_facesets(image_list)
    def _update_legacy_facesets(self, image_list):
                     "in side '{}' have mismatched sizes {} and {}.\nPlease double check "
                     "your dataset".format(side.upper(), self._image_sizes[side], width))
              raise FaceswapError(msg)
  
    def _update_legacy_facesets(self, image_list):
          """ Update the png header data for legacy face sets that do not contain the meta data in
          the exif header.
          """
          if self._validate_metadata(output_warning=False):
              logger.debug("All faces contain valid header information")
keep keep keep keep replace keep keep keep keep keep
 bugfix - plugins.trainer._base - Update image list to point to renamed pngs 
plugins/train/trainer/_base.py