mirror of https://github.com/coqui-ai/TTS.git
testing fix
parent
e386caa071
commit
0a34eb6f08
|
@ -28,8 +28,7 @@ from mozilla_voice_tts.vocoder.datasets.preprocess import (load_wav_data,
|
|||
# init_distributed, reduce_tensor)
|
||||
from mozilla_voice_tts.vocoder.layers.losses import (DiscriminatorLoss,
|
||||
GeneratorLoss)
|
||||
from mozilla_voice_tts.vocoder.utils.generic_utils import (check_config,
|
||||
plot_results,
|
||||
from mozilla_voice_tts.vocoder.utils.generic_utils import (plot_results,
|
||||
setup_discriminator,
|
||||
setup_generator)
|
||||
from mozilla_voice_tts.vocoder.utils.io import save_best_model, save_checkpoint
|
||||
|
@ -622,7 +621,7 @@ if __name__ == '__main__':
|
|||
|
||||
# setup output paths and read configs
|
||||
c = load_config(args.config_path)
|
||||
check_config(c)
|
||||
# check_config(c)
|
||||
_ = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
OUT_PATH = args.continue_path
|
||||
|
|
|
@ -145,5 +145,7 @@ def setup_discriminator(c):
|
|||
)
|
||||
return model
|
||||
|
||||
|
||||
# def check_config(c):
|
||||
# pass
|
||||
# c = None
|
||||
# pass
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
TF_CPP_MIN_LOG_LEVEL=3
|
||||
|
||||
# tests
|
||||
nosetests tests -x
|
||||
nosetests tests -x &&\
|
||||
|
||||
# runtime tests
|
||||
./tests/test_server_package.sh
|
||||
./tests/test_tts_train.sh
|
||||
./tests/test_vocoder_train.sh
|
||||
./tests/test_server_package.sh && \
|
||||
./tests/test_tts_train.sh && \
|
||||
./tests/test_vocoder_train.sh && \
|
||||
|
||||
# linter check
|
||||
cardboardlinter --refspec master
|
Loading…
Reference in New Issue