We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2be7f43 commit d31fb9eCopy full SHA for d31fb9e
lingvo/tasks/asr/decoder_metrics.py
@@ -191,8 +191,8 @@ def ComputeMetrics(self,
191
if not py_utils.use_tpu():
192
if 'sample_ids' in input_batch:
193
ret_dict['utt_id'] = input_batch.sample_ids
194
- if 'language.raw' in input_batch:
195
- ret_dict['language'] = input_batch.language.raw
+ if 'language' in input_batch:
+ ret_dict['language'] = input_batch.language
196
if 'testset_name' in input_batch:
197
ret_dict['testset_name'] = input_batch.input_batch
198
transcript_field = self.params.pass_through_transcript_field
0 commit comments