PyTorch
ssl-aasist
custom_code
File size: 639 Bytes
23b1952
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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()