PyTorch
ssl-aasist
custom_code
ssl-aasist / fairseq /tests /speech /test_s2t_conformer.py
ash56's picture
Add files using upload-large-folder tool
23b1952 verified
raw
history blame
639 Bytes
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import unittest
from tests.speech import TestFairseqSpeech
class TestS2TConformer(TestFairseqSpeech):
def setUp(self):
self.set_up_librispeech()
def test_librispeech_s2t_conformer_s_checkpoint(self):
self.base_test(
ckpt_name="librispeech_conformer_rel_pos_s.pt",
reference_score=12,
arg_overrides={"config_yaml": "cfg_librispeech.yaml"},
)
if __name__ == "__main__":
unittest.main()