          """ Perform the training cycle """
          for iteration in range(0, self.args.iterations):
              save_iteration = iteration % self.args.save_interval == 0
              viewer = self.show if save_iteration or self.save_now else None
              trainer.train_one_step(iteration, viewer)
              if self.stop:
                  break
              elif save_iteration:
 
</s> remove from lib.utils import get_folder, get_image_paths, set_system_verbosity
 </s> add from lib.utils import get_folder, get_image_paths, set_system_verbosity, Timelapse </s> remove                 shuffle(data)
 </s> add                 if doShuffle:
                    shuffle(data)
 </s> remove         shuffle(data)
 </s> add         if doShuffle:
            shuffle(data)
 </s> remove from .utils import BackgroundGenerator
from .umeyama import umeyama
 </s> add import lib.utils
from lib.umeyama import umeyama

            if save_iteration and self.timelapse is not None:
                self.timelapse.work()
          """ Perform the training cycle """
          for iteration in range(0, self.args.iterations):
              save_iteration = iteration % self.args.save_interval == 0
              viewer = self.show if save_iteration or self.save_now else None
            if save_iteration and self.timelapse is not None:
                self.timelapse.work()
              trainer.train_one_step(iteration, viewer)
              if self.stop:
                  break
              elif save_iteration:
keep keep keep add keep keep keep keep
 Add timelapse functionality (#512)

* add new cli options

* add timelapse script

* add batch size on image generation

* fix circular dependency

* add attribute check

* refactor to 3 parameters

* fix some typos

* do not shuffle the set

* default to models folder when no timelapse output supplied

* almost forgot this 
scripts/train.py