🐛 fix AUTO backend support

This commit is contained in:
Faylixe
2020-12-08 12:48:15 +01:00
parent 1886dde38b
commit 232bf0d3b6
3 changed files with 7 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ def test_train():
TRAIN_CONFIG['model_dir'] = join(path, 'model')
TRAIN_CONFIG['training_cache'] = join(path, 'cache', 'training')
TRAIN_CONFIG['validation_cache'] = join(path, 'cache', 'validation')
with open('useless_config.json') as stream:
with open('useless_config.json', 'w') as stream:
json.dump(TRAIN_CONFIG, stream)
# execute training
result = runner.invoke(spleeter, [