Hello everyone,
I'm trying to run spinx4 with a new acoustic model. I'm running my own demo, called Test, which is just a copy of HelloWorld demo running with my acoustic model. I trained my acoustic model with SphinxTrain. There were lots of errors during the training. I didn't want to spent countless hours on those problems, so I just ignored them. Besides, SphinxTrain did actually put out some files, which, according to a tutorial "How to Use Models from SphinxTrain in Sphinx-4", were sufficient for an acoustic model. So I did all the necessary changes in build.xml and in the configuration file. Now I'm facing the following problem: here is what it says:
Loading...
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 81, Size: 81
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at edu.cmu.sphinx.linguist.acoustic.tiedstate.Pool.get(Pool.java:60)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.getSenoneSequence(ModelLoader.java:1260)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.loadHMMPool(ModelLoader.java:1216)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.loadModelFiles(ModelLoader.java:564)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.load(ModelLoader.java:476)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model.allocate(Model.java:177)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocateAcousticModel(FlatLinguist.java:336)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLinguist.java:318)
at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.allocate(SimpleBreadthFirstSearchManager.java:602)
at edu.cmu.sphinx.decoder.Decoder.allocate(Decoder.java:109)
at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:182)
at demo.sphinx.mytest.Test.main(Test.java:54)
Is there anyone who could help with this?
Thanks,
Choros
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I'm trying to run spinx4 with a new acoustic model. I'm running my own demo, called Test, which is just a copy of HelloWorld demo running with my acoustic model. I trained my acoustic model with SphinxTrain. There were lots of errors during the training. I didn't want to spent countless hours on those problems, so I just ignored them. Besides, SphinxTrain did actually put out some files, which, according to a tutorial "How to Use Models from SphinxTrain in Sphinx-4", were sufficient for an acoustic model. So I did all the necessary changes in build.xml and in the configuration file. Now I'm facing the following problem: here is what it says:
Loading...
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 81, Size: 81
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at edu.cmu.sphinx.linguist.acoustic.tiedstate.Pool.get(Pool.java:60)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.getSenoneSequence(ModelLoader.java:1260)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.loadHMMPool(ModelLoader.java:1216)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.loadModelFiles(ModelLoader.java:564)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.load(ModelLoader.java:476)
at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model.allocate(Model.java:177)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocateAcousticModel(FlatLinguist.java:336)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLinguist.java:318)
at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.allocate(SimpleBreadthFirstSearchManager.java:602)
at edu.cmu.sphinx.decoder.Decoder.allocate(Decoder.java:109)
at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:182)
at demo.sphinx.mytest.Test.main(Test.java:54)
Is there anyone who could help with this?
Thanks,
Choros