                  if idx > 0 and self.arguments.verbose:
                      print('- Found more than one face!')
                      self.verify_output = True
  
                  new_face = convert_one_image(cv2.resize(face.image, (256, 256)))
                  image[slice(face.y, face.y + face.h), slice(face.x, face.x + face.w)] = cv2.resize(new_face, (face.w, face.h))
                  self.faces_detected = self.faces_detected + 1
              output_file = self.output_dir / Path(filename).name
              cv2.imwrite(str(output_file), image)
          except Exception as e:
 
</s> remove # landmark file can be found in http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
# unzip it in the same folder as the main scripts
aligner = Aligner("shape_predictor_68_face_landmarks.dat", "mmod_human_face_detector.dat")
 </s> add     encoder.load_weights(model_dir + "/encoder.h5")
    decoder_A.load_weights(model_dir + "/decoder_A.h5")
    decoder_B.load_weights(model_dir + "/decoder_B.h5") </s> remove def convert_one_image(image):
 </s> add  </s> remove class DirectoryProcessor():
 </s> add class DirectoryProcessor(object): </s> remove autoencoder = autoencoder_B
 </s> add def convert_one_image(image, model_dir="models"):
                new_face = convert_one_image(cv2.resize(face.image, (256, 256)), self.arguments.model_dir)
                  if idx > 0 and self.arguments.verbose:
                      print('- Found more than one face!')
                      self.verify_output = True
  
                new_face = convert_one_image(cv2.resize(face.image, (256, 256)), self.arguments.model_dir)
                  image[slice(face.y, face.y + face.h), slice(face.x, face.x + face.w)] = cv2.resize(new_face, (face.w, face.h))
                  self.faces_detected = self.faces_detected + 1
              output_file = self.output_dir / Path(filename).name
              cv2.imwrite(str(output_file), image)
          except Exception as e:
keep keep keep keep replace keep keep keep keep keep
 Add optional model path to convert.py (#14) 
convert.py