Exemplo n.º 1
0
 def get_required_params():
     return dict(DataLayer.get_required_params(), **{
         'num_audio_features': int,
         'input_type': ['spectrogram', 'mfcc', 'logfbank'],
         'vocab_file': str,
         'dataset_files': list,
     })
Exemplo n.º 2
0
 def get_required_params():
   return dict(DataLayer.get_required_params(), **{
     'num_audio_features': int,
     'input_type': ['spectrogram', 'mfcc'],
     'vocab_file': str,
     'dataset_files': list,
   })
Exemplo n.º 3
0
 def get_required_params():
   return dict(DataLayer.get_required_params(), **{
     # 'content_file': str,
     # 'vocab_file': str,
     'shuffle': bool,
     'repeat': bool,
     'bptt': int,
   })
Exemplo n.º 4
0
 def get_required_params():
     return dict(
         DataLayer.get_required_params(), **{
             "dataset_files": list,
             "dataset_location": str,
             "num_audio_features": int,
             "num_labels": int
         })
Exemplo n.º 5
0
 def get_required_params():
     return dict(
         DataLayer.get_required_params(), **{
             'lm_vocab_file': str,
             'shuffle': bool,
             'repeat': bool,
             'max_length': int,
             'processed_data_folder': str,
         })
Exemplo n.º 6
0
 def get_required_params():
   return dict(DataLayer.get_required_params(), **{
     'source_file': str,
     'src_vocab_file': str,
     'tgt_vocab_file': str,
     'max_length': int,
     'shuffle': bool,
     'repeat': bool,
   })
Exemplo n.º 7
0
 def get_required_params():
   return dict(DataLayer.get_required_params(), **{
     'source_file': str,
     'src_vocab_file': str,
     'tgt_vocab_file': str,
     'max_length': int,
     'shuffle': bool,
     'repeat': bool,
   })
Exemplo n.º 8
0
 def get_required_params():
     return dict(
         DataLayer.get_required_params(), **{
             'dataset_location': str,
             'mel_feature_num': None,
             'vocab_file': str,
             'dataset_files': list,
             "minimal_vocabulary": bool,
         })
Exemplo n.º 9
0
 def get_required_params():
   return dict(DataLayer.get_required_params(), **{
     'data_dir': str,
     'file_pattern': str,
     'src_vocab_file': str,
     'batch_size': int,
     'max_length': int,
     'shuffle': bool,
     "delimiter": str,
   })
Exemplo n.º 10
0
 def get_required_params():
     return dict(
         DataLayer.get_required_params(), **{
             'dataset_location': str,
             'num_audio_features': None,
             'output_type': ['magnitude', 'mel', 'both'],
             'vocab_file': str,
             'dataset_files': list,
             'feature_normalize': bool,
         })
Exemplo n.º 11
0
 def get_required_params():
   return dict(DataLayer.get_required_params(), **{
     'data_dir': str,
     'file_pattern': str,
     'src_vocab_file': str,
     'batch_size': int,
     'max_length': int,
     'shuffle': bool,
     "delimiter": str,
   })
Exemplo n.º 12
0
 def get_required_params():
     return dict(DataLayer.get_required_params(), **{
         'data_dir': str,
     })
Exemplo n.º 13
0
 def get_required_params():
     return dict(DataLayer.get_required_params(), **{
         'repeat': bool,
         'bptt': int,
     })
Exemplo n.º 14
0
 def get_required_params():
   return dict(DataLayer.get_required_params(), **{
     'vocab_file': str,
     'bptt': int,
   })
Exemplo n.º 15
0
 def get_required_params():
     return dict(DataLayer.get_required_params(), **{
         "num_audio_features": int,
         "dataset_files": list
     })
Exemplo n.º 16
0
 def get_required_params():
   return dict(DataLayer.get_required_params(), **{
     'data_dir': str,
   })