  
      # Various helper methods
      def write_to_log(self, changes):
          print("Writing sort log to: {}".format(self.args.log_file_path))
          with open(self.args.log_file_path, 'w') as lf:
              lf.write(self.serializer.marshal(changes))
  
      def reload_images(self, group_method, img_list):
          """
          Reloads the image list by replacing the comparative values with those
          that the chosen grouping method expects.
 
</s>
        with open(self.args.log_file_path, 'w') as lfile:
            lfile.write(self.serializer.marshal(changes))
  
      # Various helper methods
      def write_to_log(self, changes):
          print("Writing sort log to: {}".format(self.args.log_file_path))
        with open(self.args.log_file_path, 'w') as lfile:
            lfile.write(self.serializer.marshal(changes))
        with open(self.args.log_file_path, 'w') as lfile:
            lfile.write(self.serializer.marshal(changes))
  
      def reload_images(self, group_method, img_list):
          """
          Reloads the image list by replacing the comparative values with those
          that the chosen grouping method expects.
keep keep keep keep replace replace 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