mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
Change config to json 3
This commit is contained in:
Binary file not shown.
@@ -1,8 +1,6 @@
|
||||
import librosa
|
||||
import numpy as np
|
||||
from scipy import signal
|
||||
import Tacotron.train_config as c
|
||||
|
||||
|
||||
_mel_basis = None
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ def remove_experiment_folder(experiment_path):
|
||||
"""Check folder if there is a checkpoint, otherwise remove the folder"""
|
||||
|
||||
checkpoint_files = glob.glob(experiment_path+"/*.pth.tar")
|
||||
if len(checkpoint_files) < 2:
|
||||
if len(checkpoint_files) < 1:
|
||||
shutil.rmtree(experiment_path)
|
||||
print(" ! Run is removed from {}".format(experiment_path))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user