                                   cv2.BORDER_TRANSPARENT)  # pylint:disable=no-member
          target_image = image
  
          # TODO Make sure this replacement is correct
          slices = slice(size // 2 - coverage // 2, size // 2 + coverage // 2)
  #        slices = slice(size // 32, size - size // 32)  # 8px on a 256px image
          warped_image = cv2.resize(  # pylint:disable=no-member
              warped_image[slices, slices, :], (self.input_size, self.input_size),
              cv2.INTER_AREA)  # pylint:disable=no-member
          logger.trace("Warped image shape: %s", warped_image.shape)
 
</s> remove         range_ = np.linspace(height // 2 - coverage // 2,
                             height // 2 + coverage // 2,
                             5, dtype='float32')
 </s> add         range_ = np.linspace(height // 2 - coverage, height // 2 + coverage, 5, dtype='float32') </s> remove         coverage = self.get_coverage(image)
 </s> add         coverage = self.get_coverage(image) // 2 </s> remove         coverage = self.get_coverage(image)
 </s> add         coverage = self.get_coverage(image) // 2 </s> remove         return pad(x, [[0,0],
                          [padding_top, padding_bot],
                          [padding_left, padding_right],
                          [0,0] ],
                          'REFLECT')
 </s> add         return pad(x,
                   [[0, 0],
                    [padding_top, padding_bot],
                    [padding_left, padding_right],
                    [0, 0]],
                   'REFLECT') </s> remove         if (in_width % self.stride == 0):
 </s> add         if (in_width % self.stride) == 0:
        slices = slice(size // 2 - coverage, size // 2 + coverage)
                                   cv2.BORDER_TRANSPARENT)  # pylint:disable=no-member
          target_image = image
  
          # TODO Make sure this replacement is correct
        slices = slice(size // 2 - coverage, size // 2 + coverage)
  #        slices = slice(size // 32, size - size // 32)  # 8px on a 256px image
          warped_image = cv2.resize(  # pylint:disable=no-member
              warped_image[slices, slices, :], (self.input_size, self.input_size),
              cv2.INTER_AREA)  # pylint:disable=no-member
          logger.trace("Warped image shape: %s", warped_image.shape)
keep keep keep keep replace keep keep keep keep keep
 documentation, pep8, style, clarity updates  - Prep for Segmentation (#812)

* documentation, pep8, style, clarity updates

* Update cli.py

* Update _config.py

remove extra mask and coverage

mask type as dropdown

* Update training_data.py

move coverage / LR to global
cut down on loss description

style change
losses working in PR

* simpler logging

* legacy update 
lib/training_data.py