          for idx, face in enumerate(extract_media.detected_faces):
              output_filename = "{}_{}{}".format(filename, str(idx), extension)
              face.hash, image = encode_image_with_hash(face.aligned_face, extension)
  
              saver.save(output_filename, image)
              final_faces.append(face.to_alignment())
          self._alignments.data[os.path.basename(extract_media.filename)] = dict(faces=final_faces)
          del extract_media
 
</s> remove         saver.close()
 </s> add         if not self._args.skip_saving_faces:
            saver.close() </s> remove             help="Skip saving out the face images"))
 </s> add             help="Skip saving the detected faces to disk. Just create an alignments file"))
            if not self._args.skip_saving_faces:
                saver.save(output_filename, image)
          for idx, face in enumerate(extract_media.detected_faces):
              output_filename = "{}_{}{}".format(filename, str(idx), extension)
              face.hash, image = encode_image_with_hash(face.aligned_face, extension)
  
            if not self._args.skip_saving_faces:
                saver.save(output_filename, image)
              final_faces.append(face.to_alignment())
          self._alignments.data[os.path.basename(extract_media.filename)] = dict(faces=final_faces)
          del extract_media
keep keep keep keep replace keep keep keep
 Bugfix: Extract - Fix Skip Saving Faces 
scripts/extract.py