  #!/usr/bin python3
  """ Face Filterer for extraction in faceswap.py """
  
  import logging
  import os
  import sys
  
  import cv2
  import numpy as np
  
  from lib.faces_detect import DetectedFace
 
</s> remove import numpy as np
 </s> add  </s> remove from lib.utils import GetModel
 </s> add from lib.vgg_face import VGGFace
 </s> remove from lib.utils import GetModel
 </s> add from lib.vgg_face import VGGFace </s> remove             encodings = self.predict(face["face"])
 </s> add             encodings = self.vgg_face.predict(face["face"])
 </s> remove         encodings = self.predict(detected_face.aligned_face)
 </s> add         encodings = self.vgg_face.predict(detected_face.aligned_face)

  #!/usr/bin python3
  """ Face Filterer for extraction in faceswap.py """
  
  import logging


  
  import cv2
  import numpy as np
  
  from lib.faces_detect import DetectedFace
keep keep keep keep replace replace keep keep keep keep keep
 Fixups

vgg_face: to own module
vgg_face: correct output and normalization
Extract: more aggressive queue sizes
sys_info: Fix cudnn check error on Linux 
lib/face_filter.py