Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to run or train in p2g mod #186

Open
zhushaojin opened this issue Jan 17, 2020 · 1 comment
Open

failed to run or train in p2g mod #186

zhushaojin opened this issue Jan 17, 2020 · 1 comment

Comments

@zhushaojin
Copy link

Hi, I got error both in running or training under p2g mod.
(The G2P worked fine)
---------------- running ----------------
The model I used is downloaded at here as described.
The command line I used is
g2p-seq2seq --interactive --model_dir g2p-seq2seq-model-6.2-cmudict-nostress --p2g
and when I input
hello
it return
WARNING:tensorflow:Invalid symbol:hello
It happened with other common words.

---------------- training ----------------
As I thought it might be the model problem, so I want so train my own model with cmudict.dict downloaded here
The command line I used is
g2p-seq2seq --train /data00/home/***/anaconda3/bin/cmudict.dict --model_dir g2p-seq2seq-model-6.2-cmudict-nostress --p2g --cleanup
The error returned as

WARNING:tensorflow:Invalid symbol:venter
WARNING:tensorflow:Invalid symbol:E
WARNING:tensorflow:Invalid symbol:ventrella
WARNING:tensorflow:Invalid symbol:A
WARNING:tensorflow:Invalid symbol:H
WARNING:tensorflow:Invalid symbol:venturing
WARNING:tensorflow:Invalid symbol:verbally
WARNING:tensorflow:Invalid symbol:I

what can I do? Thanks

@joshcho
Copy link

joshcho commented Nov 15, 2020

Did you ever figure this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants