          return sum(scores) / len(scores)
  
      @staticmethod
      def get_avg_score_faces(f1encs, references):
          scores = []
          for f2encs in references:
              score = face_recognition.face_distance(f1encs, f2encs)[0]
              scores.append(score)
          return sum(scores) / len(scores)
 
</s> remove 
            return renaming
 </s> add         return renaming </s> remove                 if f1encs is not None and f2encs is not None and len(
                        f1encs) > 0 and len(f2encs) > 0:
 </s> add                 if f1encs and f2encs: </s> remove     def calc_landmarks_face_pitch(fl):  # unused
        t = ((fl[6][1] - fl[8][1]) + (fl[10][1] - fl[8][1])) / 2.0
        b = fl[8][1]
        return b - t
 </s> add     def calc_landmarks_face_pitch(flm):
        """ UNUSED - Calculate the amount of pitch in a face """
        var_t = ((flm[6][1] - flm[8][1]) + (flm[10][1] - flm[8][1])) / 2.0
        var_b = flm[8][1]
        return var_b - var_t
        """ Return the average similarity score between a face and
            reference image """
          return sum(scores) / len(scores)
  
      @staticmethod
      def get_avg_score_faces(f1encs, references):
        """ Return the average similarity score between a face and
            reference image """
          scores = []
          for f2encs in references:
              score = face_recognition.face_distance(f1encs, f2encs)[0]
              scores.append(score)
          return sum(scores) / len(scores)
keep keep keep add keep keep keep keep keep
 Merge staging to Master (#470)

* DLib scaling amends (#461)

* Scaling area fix and rework of frames and bounding boxes

* Update DLib scaling and initialization

* Extract - Detector reinitialization bugfix

* Slight OriginaHightRes Model re-factoring (#464)

* Model re-factoring, might fix red screen of death on multi-gpu configurations

* Limited trainer support for various INPUT_SIZE

* Auto Extraction multiprocess bugfix

* Sort tool bugfixes and linting 
tools/sort.py