Closed SHU-HAN closed 8 years ago
Are you sure you are using latest version please? It does not look like that, it seems you have slightly older one. Could you reinstall?
g2p.py should contain the line
from g2p_seq2seq import data_utils
not
import data_utils
I'm so sorry I didn't notice that,because I was studying your g2p.py and tried to fix that problem So I change the code Thank you for reminding me It's work now
Thank You,Best Regards
Ok, let me know if you have further questions
sorry~ I don't know what happened when i was training chinese language model I gave chinese dictionary(like example dictionary) & empty dir(chmodel) and the dict has been transform to unicode
then i got this error message,what is that mean??
sam@speechws13:~/g2p-seq2seq$ sudo g2p-seq2seq --train dict.dic --model
chmodel/
Preparing G2P data
Creating vocabularies in chmodel/
Creating vocabulary chmodel/vocab.phoneme
Creating vocabulary chmodel/vocab.grapheme
Reading development and training data.
I tensorflow/core/common_runtime/local_device.cc:40] Local device intra op
parallelism threads: 8
I tensorflow/core/common_runtime/direct_session.cc:58] Direct session inter
op parallelism threads: 8
Creating 2 layers of 64 units.
Created model with fresh parameters.
global step 200 learning rate 0.5000 step-time 1.85 perplexity 99.10
Traceback (most recent call last):
File "/usr/local/bin/g2p-seq2seq", line 9, in
2016-07-12 21:10 GMT+08:00 Nickolay V. Shmyrev notifications@github.com:
Ok, let me know if you have further questions
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cmusphinx/g2p-seq2seq/issues/41#issuecomment-232042097, or mute the thread https://github.com/notifications/unsubscribe/ATeAR3SOP-lmWBd3zignkxM6CCUKFnmaks5qU5I5gaJpZM4JKLaB .
Your tensorflow is too old, you need version 0.9.
how can I fix this question?? thank you~