          epoch, warped_B, target_B = next(self.images_B)
  
          loss_A = self.model.autoencoder_A.train_on_batch(warped_A, target_A)
          loss_B = self.model.autoencoder_B.train_on_batch(warped_B, target_B)
          print("[{0}] [#{1:05d}] loss_A: {2:.5f}, loss_B: {3:.5f}".format(time.strftime("%H:%M:%S"), iter, loss_A, loss_B))
  
          if viewer is not None:
              viewer(self.show_sample(target_A[0:14], target_B[0:14]), "training")
  
      def show_sample(self, test_A, test_B):
 
</s> remove             skip = False
            try:
                if self.frame_ranges is not None:
                    # grab the index with last number regex
                    idx = int(self.imageidxre.findall(filename)[0])
                    # only skip if the current index is not between any of the frame ranges.
                    skip = not any(map(lambda b: b[0]<=idx<=b[1], self.frame_ranges))
            except:
                # if we error, dont skip
                skip = False
 </s> add             skip = self.check_skip(filename)
        print("[{0}] [#{1:05d}] loss_A: {2:.5f}, loss_B: {3:.5f}".format(time.strftime("%H:%M:%S"), iter, loss_A, loss_B),
            end='\r')

          epoch, warped_B, target_B = next(self.images_B)
  
          loss_A = self.model.autoencoder_A.train_on_batch(warped_A, target_A)
          loss_B = self.model.autoencoder_B.train_on_batch(warped_B, target_B)
        print("[{0}] [#{1:05d}] loss_A: {2:.5f}, loss_B: {3:.5f}".format(time.strftime("%H:%M:%S"), iter, loss_A, loss_B),
            end='\r')
  
          if viewer is not None:
              viewer(self.show_sample(target_A[0:14], target_B[0:14]), "training")
  
      def show_sample(self, test_A, test_B):
keep keep keep keep replace keep keep keep keep keep
 frame-range changes (#92)

* extended arguments for convert re https://github.com/deepfakes/faceswap/issues/85

* forgot to change helptext for extended arguments.

* Added -fr --frame-range argument to convert

accepts a list of frame ranges like `-fr 40-50 90-100`

still writes out frames that havent been converted.

* added --discard-frames argument

--discard-frames discards frames not included in --frame-range instead
of writing them out unchanged.

* Made training message slightly clearer

* Revert "Made training message slightly clearer"

This reverts commit 25a9744aea444a67a4825ec86d06357b31a43c9d.

* Training status now '\r's rather than newlines.
Maybe its good, maybe its bad.
I like it.

* fixing https://github.com/deepfakes/faceswap/pull/90#issuecomment-362309166 
lib/ModelAE.py