      def snapshot_models(self):
          """ Take a snapshot of the model at current state and back up """
          logger.info("Saving snapshot")
          src = self.model_dir
          dst = get_folder("{}_{}".format(self.model_dir, self.iterations))
          for filename in os.listdir(src):
              if filename.endswith(".bk"):
                  continue
              srcfile = os.path.join(src, filename)
              dstfile = os.path.join(dst, filename)
 
</s> remove             import_path = dirpath.replace(base_path, "").replace("/", ".")[1:]
 </s> add             import_path = ".".join(full_path_split(dirpath.replace(base_path, ""))[1:]) </s> remove             import_path = dirpath.replace(base_path, "").replace("/", ".")[1:]
 </s> add             import_path = ".".join(full_path_split(dirpath.replace(base_path, ""))[1:]) </s> remove             import_path = dirpath.replace(base_path, "").replace("/", ".")[1:]
 </s> add             import_path = ".".join(full_path_split(dirpath.replace(base_path, ""))[1:])
        dst = get_folder("{}_snapshot_{}_iters".format(self.model_dir, self.iterations))
      def snapshot_models(self):
          """ Take a snapshot of the model at current state and back up """
          logger.info("Saving snapshot")
          src = self.model_dir
        dst = get_folder("{}_snapshot_{}_iters".format(self.model_dir, self.iterations))
          for filename in os.listdir(src):
              if filename.endswith(".bk"):
                  continue
              srcfile = os.path.join(src, filename)
              dstfile = os.path.join(dst, filename)
keep keep keep keep replace keep keep keep keep keep
 Bugfixes and minor changes

Fix: Occasional memory leak in convert
Fix: Dynamic config loading in Windows
Change: Better folder naming for snapshots 
plugins/train/model/_base.py