pull/1065/head
Junkun 3 years ago
parent dc479df9e4
commit 4e31a4445d

@ -432,6 +432,7 @@ class U2STTester(U2STTrainer):
""""E2E translation from extracted audio feature""" """"E2E translation from extracted audio feature"""
cfg = self.config.decoding cfg = self.config.decoding
text_feature = self.test_loader.collate_fn.text_feature text_feature = self.test_loader.collate_fn.text_feature
self.model.eval()
hyps = self.model.decode( hyps = self.model.decode(
audio, audio,

Loading…
Cancel
Save