mirror of https://github.com/coqui-ai/TTS.git
fix weird lint problem but not caring
This commit is contained in:
parent
ddd7de6439
commit
263dc2f7ce
|
@ -22,7 +22,7 @@ class DemoServerTest(unittest.TestCase):
|
|||
num_chars = len(phonemes) if config.use_phonemes else len(symbols)
|
||||
model = setup_model(num_chars, 0, config)
|
||||
output_path = os.path.join(get_tests_output_path())
|
||||
save_checkpoint(model, None, None, None, 1, output_path)
|
||||
save_checkpoint(model, None, 10, 10, 1, output_path)
|
||||
|
||||
def test_in_out(self):
|
||||
self._create_random_model()
|
||||
|
|
|
@ -157,7 +157,7 @@ class AudioProcessor(object):
|
|||
|
||||
### Mean-STD scaling ###
|
||||
def load_stats(self, stats_path):
|
||||
stats = np.load(stats_path, allow_pickle=True).item()
|
||||
stats = np.load(stats_path, allow_pickle=True).item() #pylint: disable=unexpected-keyword-arg
|
||||
mel_mean = stats['mel_mean']
|
||||
mel_std = stats['mel_std']
|
||||
linear_mean = stats['linear_mean']
|
||||
|
|
Loading…
Reference in New Issue