          """ Set the method for renaming files """
          if log_changes:
              def renaming(src, output_dir, i, changes):
                  src_basename = os.path.basename(src)
  
                  __src = os.path.join(output_dir,
                                       '{:05d}_{}'.format(i, src_basename))
                  dst = os.path.join(
                      output_dir,
 
</s> remove 
            return renaming

 </s> add  </s> remove 
            return renaming
 </s> add         return renaming </s> remove 
                return process_file
 </s> add         return process_file
                """ Rename files  method if logging changes """
          """ Set the method for renaming files """
          if log_changes:
              def renaming(src, output_dir, i, changes):
                """ Rename files  method if logging changes """
                  src_basename = os.path.basename(src)
  
                  __src = os.path.join(output_dir,
                                       '{:05d}_{}'.format(i, src_basename))
                  dst = os.path.join(
                      output_dir,
keep keep add keep 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