Example #1
0
 def get_optional_params():
   return dict(DataLayer.get_optional_params(), **{
       'num_parallel_calls': int,
       'shuffle_buffer': int,
       'image_size': int,
       'num_classes': int,
   })
Example #2
0
 def get_optional_params():
     return dict(
         DataLayer.get_optional_params(), **{
             'augmentation': dict,
             'pad_to': int,
             'max_duration': float,
             'bpe': bool,
             'autoregressive': bool,
         })
Example #3
0
 def get_optional_params():
     return dict(
         DataLayer.get_optional_params(), **{
             'repeat': int,
             'num_cpu_cores': int,
             'tgt_vocab_file': str,
             'pad_data_to_eight': bool,
             'batch_in_tokens': bool,
         })
Example #4
0
 def get_optional_params():
   return dict(DataLayer.get_optional_params(), **{
       'augmentation': dict,
       'pad_to': int,
       'max_duration': float,
       'bpe': bool,
       'autoregressive': bool,
       'syn_enable': bool,
       'syn_subdirs': list,
       'window_size': float,
       'window_stride': float,
   })
Example #5
0
 def get_optional_params():
     return dict(
         DataLayer.get_optional_params(), **{
             'use_targets': bool,
             'delimiter': str,
             'target_file': str,
             'map_parallel_calls': int,
             'prefetch_buffer_size': int,
             'pad_lengths_to_eight': bool,
             'pad_vocab_to_eight': bool,
             'shuffle_buffer_size': int,
             'special_tokens_already_in_vocab': bool,
             'use_start_token': bool,
         })
Example #6
0
 def get_optional_params():
   return dict(DataLayer.get_optional_params(), **{
     'data_root': str,
     'rand_start': bool,
     'small': bool,
     'use_targets': bool,
     'delimiter': str,
     'map_parallel_calls': int,
     'prefetch_buffer_size': int,
     'pad_lengths_to_eight': bool,
     'pad_vocab_to_eight': bool,
     'seed_tokens': str,
     'shuffle_buffer_size': int,
     'processed_data_folder': str,
   })
Example #7
0
 def get_optional_params():
   return dict(DataLayer.get_optional_params(), **{
     'rand_start': bool,
     'small': bool,
     'use_targets': bool,
     'delimiter': str,
     'map_parallel_calls': int,
     'prefetch_buffer_size': int,
     'pad_lengths_to_eight': bool,
     'pad_vocab_to_eight': bool,
     'shuffle_buffer_size': int,
     'data_root': str,
     'binary': bool,
     'num_classes': int,
     'get_stats': bool,
   })
Example #8
0
 def get_optional_params():
   return dict(
       DataLayer.get_optional_params(), **{
           'pad_to': int,
           'mag_power': int,
           'pad_EOS': bool,
           'pad_value': float,
           'feature_normalize_mean': float,
           'feature_normalize_std': float,
           'trim': bool,
           'data_min': None,
           'duration_min': int,
           'duration_max': int,
           'mel_type': ['slaney', 'htk'],
           "exp_mag": bool
       }
   )
Example #9
0
 def get_optional_params():
     return dict(DataLayer.get_optional_params(),
                 **{"dataset_location": str})
Example #10
0
 def get_optional_params():
     return dict(DataLayer.get_optional_params(), **{
         "cache_data": bool,
         "augment_data": bool
     })