  
      def convert(self, converter, item):
          try:
              (filename, image, faces) = item
              
              if not self.check_skipframe(filename): # process as normal
                  for idx, face in faces:
                      image = converter.patch_image(image, face)
  
              output_file = self.output_dir / Path(filename).name
  
              if self.arguments.discard_frames and skip:
                  return
              cv2.imwrite(str(output_file), image)
          except Exception as e:
 
</s> remove             output_file = self.output_dir / Path(filename).stem
 </s> add             output_file = get_folder(self.output_dir) / Path(filename).stem </s> remove             self.encoder.load_weights(self.model_dir + encoderH5)
            self.decoder_A.load_weights(self.model_dir + face_A)
            self.decoder_B.load_weights(self.model_dir + face_B)
 </s> add             self.encoder.load_weights(self.model_dir / encoderH5)
            self.decoder_A.load_weights(self.model_dir / face_A)
            self.decoder_B.load_weights(self.model_dir / face_B)
 </s> remove         if faces_count > 0 and self.arguments.verbose:
 </s> add         if faces_count > 1 and self.arguments.verbose:
  
      def convert(self, converter, item):
          try:
              (filename, image, faces) = item






  
              if self.arguments.discard_frames and skip:
                  return
              cv2.imwrite(str(output_file), image)
          except Exception as e:
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Changes I forgot to push :-/ (#136) 
scripts/convert.py