g2p-seq2seq icon indicating copy to clipboard operation
g2p-seq2seq copied to clipboard

failed to run or train in p2g mod

Open zhushaojin opened this issue 4 years ago • 1 comments

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

zhushaojin avatar Jan 17 '20 09:01 zhushaojin

Did you ever figure this out?

joshcho avatar Nov 15 '20 15:11 joshcho