mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
small gst config change
This commit is contained in:
1 parent
e206ff8a28
commit
b0c4a77aea
1 file changed
+5
@@ -20,7 +20,12 @@ c = load_config(os.path.join(get_tests_input_path(), 'test_config.json'))
|
||||
|
||||
|
||||
class TacotronTrainTest(unittest.TestCase):
|
||||
<<<<<<< HEAD
|
||||
def test_train_step(self): # pylint: disable=no-self-use
|
||||
=======
|
||||
@staticmethod
|
||||
def test_train_step():
|
||||
>>>>>>> small gst config change
|
||||
input_dummy = torch.randint(0, 24, (8, 128)).long().to(device)
|
||||
input_lengths = torch.randint(100, 128, (8, )).long().to(device)
|
||||
input_lengths = torch.sort(input_lengths, descending=True)[0]
|
||||
|
||||
Reference in new issue
Block a user