@@ -33,11 +33,10 @@ def parse(self, path: tf.Tensor, audio: tf.Tensor, indices: tf.Tensor):
3333 if self .use_tf : data = self .tf_preprocess (path , audio , indices )
3434 else : data = self .preprocess (path , audio , indices )
3535
36- path , features , input_length , label , label_length , prediction , prediction_length = data
36+ _ , features , input_length , label , label_length , prediction , prediction_length = data
3737
3838 return (
3939 {
40- "path" : path ,
4140 "input" : features ,
4241 "input_length" : input_length ,
4342 "prediction" : prediction ,
@@ -66,7 +65,6 @@ def process(self, dataset, batch_size):
6665 batch_size = batch_size ,
6766 padded_shapes = (
6867 {
69- "path" : tf .TensorShape ([]),
7068 "input" : tf .TensorShape (self .speech_featurizer .shape ),
7169 "input_length" : tf .TensorShape ([]),
7270 "prediction" : tf .TensorShape (self .text_featurizer .prepand_shape ),
@@ -79,7 +77,6 @@ def process(self, dataset, batch_size):
7977 ),
8078 padding_values = (
8179 {
82- "path" : None ,
8380 "input" : 0. ,
8481 "input_length" : 0 ,
8582 "prediction" : self .text_featurizer .blank ,
0 commit comments