          figure = numpy.clip(figure * 255, 0, 255).astype('uint8')
  
          if self.arguments.preview is True:
              cv2.imshow('', figure)
          else:
              cv2.imwrite('_sample.jpg', figure)
  
      def process(self):
          images_A = get_image_paths(self.arguments.input_A)
          images_B = get_image_paths(self.arguments.input_B)
 
</s> remove             if epoch % 100 == 0:
 </s> add             if epoch % self.arguments.save_interval == 0:
        if not self.arguments.preview or self.arguments.write_image:
          figure = numpy.clip(figure * 255, 0, 255).astype('uint8')
  
          if self.arguments.preview is True:
              cv2.imshow('', figure)
        if not self.arguments.preview or self.arguments.write_image:
              cv2.imwrite('_sample.jpg', figure)
  
      def process(self):
          images_A = get_image_paths(self.arguments.input_A)
          images_B = get_image_paths(self.arguments.input_B)
keep keep keep keep replace keep keep keep keep keep
 Improvement of the train action usability. (#37)

* Improvement of the train action usability.

* Prints the current iteration number in verbose mode.
* The number of iterations before saving the data can be changed by a command line optin.

* Added option to write training result to file even when in preview.

* Prints time elapsed for each iteration in verbose mode when training. 
lib/cli.py