mirror of https://github.com/coqui-ai/TTS.git
Update loader tests
This commit is contained in:
parent
6d9879bf66
commit
b341951b78
|
@ -116,8 +116,8 @@ class TestTTSDataset(unittest.TestCase):
|
|||
if self.ap.symmetric_norm:
|
||||
self.assertLessEqual(mel_input.max(), self.ap.max_norm)
|
||||
self.assertGreaterEqual(
|
||||
mel_input.min(), -self.ap.max_norm
|
||||
) # pylint: disable=invalid-unary-operand-type
|
||||
mel_input.min(), -self.ap.max_norm # pylint: disable=invalid-unary-operand-type
|
||||
)
|
||||
self.assertLess(mel_input.min(), 0)
|
||||
else:
|
||||
self.assertLessEqual(mel_input.max(), self.ap.max_norm)
|
||||
|
|
Loading…
Reference in New Issue