(data_augmentation, name)
Logs the given data augmentation parameters for diagnostic purposes.
Logs the given data augmentation parameters for diagnostic purposes.
Logs the given data augmentation parameters for diagnostic purposes .
def log_data_augmentation(data_augmentation, name):
  """Logs the given data augmentation parameters for diagnostic purposes."""
  if not data_augmentation:
    logging.info('No data augmentation provided for %s', name)
  else:
    logging.info('%s augmentations:', name)
    logging.info('enable_jitter: %s', data_augmentation.enable_jitter)
    logging.info('jitter_amount: %d', data_augmentation.jitter_amount)
    logging.info('enable_gaussian_noise: %s',
                 data_augmentation.enable_gaussian_noise)
    logging.info('gaussian_noise_std: %s', data_augmentation.gaussian_noise_std)
def log_data_augmentation ( data_augmentation , name ) : if not data_augmentation : logging . info ( 'No data augmentation provided for %s' , name ) else : logging . info ( '%s augmentations:' , name ) logging . info ( 'enable_jitter: %s' , data_augmentation . enable_jitter ) logging . info ( 'jitter_amount: %d' , data_augmentation . jitter_amount ) logging . info ( 'enable_gaussian_noise: %s' , data_augmentation . enable_gaussian_noise ) logging . info ( 'gaussian_noise_std: %s' , data_augmentation . gaussian_noise_std )