Traceback (most recent call last): File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 662, in run shouldStop = self.iterate(context) File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 575, in iterate self.shallUseMaximumApproximation) File "/data1/baiye/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 260, in evidence for eg in self.graphs(model): File "/data1/baiye/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 202, in makeGraphs eg = self.builder.create(left, right) File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur_.py", line 145, in create def create(self, *args): return _sequitur_.EstimationGraphBuilder_create(self, *args)ValueError: symbol out of range: 256iteration failed.failed to estimate or load model# Accounting: time=72 threads=1# Ended (code 1) at Thu Mar 17 23:58:36 CST 2016, elapsed time 72 secondsNo idea. How many phonemes you have and how many words? Is this on some standard kaldi eg?
Y.
--
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks. My feeling is that you have either too many phonemes or too many words in the training lexicon.
There is a compile-time variable in sequitur that allows for changing of sizes of the static structures in sequitur, but I think we set it to a sufficient size if you use the script extras/install_sequitur.sh
I will have to check this later, I'm not at the computer right now.
Y.
Estimation.cc:296 63.7685 63.7685 63.7685 53.8788 0.508154 9.38157 -2.84217e-14
Traceback (most recent call last):File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 662, in runshouldStop = self.iterate(context)
File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 595, in iteratenewModel.sequenceModel = self.sequenceModel(evidence, newModel.discount)File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 512, in sequenceModelevidence = evidence.makeSequenceModelEstimator()File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur_.py", line 189, in makeSequenceModelEstimatordef makeSequenceModelEstimator(self): return _sequitur_.EvidenceStore_makeSequenceModelEstimator(self)RuntimeError: std::bad_allocmemory usage: virtual 435.9 MB resident 321.6 MB
optimal discount: [ 0.51929295 0.69953466 0.81342148 0.89166478]max. rel. change: 1.0iteration failed.failed to estimate or load model# Accounting: time=396 threads=1# Ended (code 1) at Thu Mar 17 23:00:50 CST 2016, elapsed time 396 seconds
I've just commited a fix for this. Please go to your kaldi tools and delete the sequitur-g2p directory.
Hi Yenda,Today when I examined g2p training log, I found a run time error. The log provided this message:
Estimation.cc:296 63.7685 63.7685 63.7685 53.8788 0.508154 9.38157 -2.84217e-14
Traceback (most recent call last):File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 662, in runshouldStop = self.iterate(context)
File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 595, in iteratenewModel.sequenceModel = self.sequenceModel(evidence, newModel.discount)File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur.py", line 512, in sequenceModelevidence = evidence.makeSequenceModelEstimator()File "/data1/KeywordSearch/kaldi-trunk/tools/sequitur-g2p/sequitur_.py", line 189, in makeSequenceModelEstimatordef makeSequenceModelEstimator(self): return _sequitur_.EvidenceStore_makeSequenceModelEstimator(self)RuntimeError: std::bad_allocmemory usage: virtual 435.9 MB resident 321.6 MB
I think memory allocation was failed. How can I solve it?Thank you!BAI
在 2016年3月17日星期四 UTC+8下午7:41:26,Yenda写道:
I've just commited a fix for this. Please go to your kaldi tools and delete the sequitur-g2p directory.
在 2016年3月17日星期四 UTC+8下午7:41:26,Yenda写道:
I've just commited a fix for this. Please go to your kaldi tools and delete the sequitur-g2p directory.
在 2016年3月17日星期四 UTC+8下午7:41:26,Yenda写道:
I've just commited a fix for this. Please go to your kaldi tools and delete the sequitur-g2p directory.