Hi, I have fallowed your steps and loaded the Lecture record Chinese dataset, but encounted errors as fallows:
Traceback (most recent call last):
File "train.py", line 31, in
g = Graph();
File "/data/workspace/tts/happyball/tacotron/graph.py", line 30, in init
self.x, self.y, self.z, self.fnames, self.num_batch = get_batch()
File "/data/workspace/tts/happyball/tacotron/data_load.py", line 346, in get_batch
fpaths, text_lengths, texts = load_data() # list
File "/data/workspace/tts/happyball/tacotron/data_load.py", line 204, in load_data
text = to_bopomofo(text, tones=False)
File "/usr/local/lib/python2.7/dist-packages/bopomofo/init.py", line 24, in to_bopomofo
return splitter.join(_bopomofo_list(chars, tones, first_tone_symbol))
File "/usr/local/lib/python2.7/dist-packages/bopomofo/init.py", line 44, in _bopomofo_list
pinyin = _pinyin_list(chars, tones)
File "/usr/local/lib/python2.7/dist-packages/bopomofo/init.py", line 38, in _pinyin_list
return _pinyin.get_pinyin(chars, '|', show_tone_marks=tones).split('|')
TypeError: get_pinyin() got an unexpected keyword argument 'show_tone_marks'
Hi, I have fallowed your steps and loaded the Lecture record Chinese dataset, but encounted errors as fallows: Traceback (most recent call last): File "train.py", line 31, in
g = Graph();
File "/data/workspace/tts/happyball/tacotron/graph.py", line 30, in init
self.x, self.y, self.z, self.fnames, self.num_batch = get_batch()
File "/data/workspace/tts/happyball/tacotron/data_load.py", line 346, in get_batch
fpaths, text_lengths, texts = load_data() # list
File "/data/workspace/tts/happyball/tacotron/data_load.py", line 204, in load_data
text = to_bopomofo(text, tones=False)
File "/usr/local/lib/python2.7/dist-packages/bopomofo/init.py", line 24, in to_bopomofo
return splitter.join(_bopomofo_list(chars, tones, first_tone_symbol))
File "/usr/local/lib/python2.7/dist-packages/bopomofo/init.py", line 44, in _bopomofo_list
pinyin = _pinyin_list(chars, tones)
File "/usr/local/lib/python2.7/dist-packages/bopomofo/init.py", line 38, in _pinyin_list
return _pinyin.get_pinyin(chars, '|', show_tone_marks=tones).split('|')
TypeError: get_pinyin() got an unexpected keyword argument 'show_tone_marks'
what's the problem?