When I run:
python3 train.py --config_path config.json
I get this:
Traceback (most recent call last):
File "train.py", line 13, in <module>
from TTS.datasets.TTSDataset import MyDataset
File "/home/begemot/Escritorio/TTS-master/tts_namespace/TTS/datasets /TTSDataset.py", line 8, in <module>
from TTS.utils.text import text_to_sequence, phoneme_to_sequence, pad_with_eos_bos
File "/home/begemot/Escritorio/TTS-master/tts_namespace/TTS/utils/text/__init__.py", line 5, in <module>
from phonemizer.phonemize import phonemize
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/usr/local/lib/python3.5/dist-packages/phonemizer-2.1-py3.5.egg/phonemizer/phonemize.py", line 25, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 954, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 896, in _find_spec
File "<frozen importlib._bootstrap_external>", line 1139, in find_spec
File "<frozen importlib._bootstrap_external>", line 1115, in _get_spec
File "<frozen importlib._bootstrap_external>", line 1096, in _legacy_get_spec
File "<frozen importlib._bootstrap>", line 444, in spec_from_loader
File "<frozen importlib._bootstrap_external>", line 533, in spec_from_file_location
File "/usr/local/lib/python3.5/dist-packages/phonemizer-2.1-py3.5.egg/phonemizer/logger.py", line 42
f'verbosity is {verbosity} but must be in '
^
SyntaxError: invalid syntax