fix weird lint problem but not caring

This commit is contained in:
erogol 2020-05-20 16:27:48 +02:00
parent ddd7de6439
commit 263dc2f7ce
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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']