LIUM Speaker Diarization抛出" FileNotFoundException:showName.mfcc"

时间:2018-03-21 13:38:30

标签: java speech-recognition filenotfoundexception mfcc

我正在尝试使用LIUM Speaker Diarization工具,该工具适用于Java,但在Windows 10上,执行该行:

java -Xmx1024m -jar /mnt/c/Users/LIUM_SpkDiarization-8.4.1.jar \ --fInputMask= /mnt/c/Users/showName.wav --sOutputMask= /mnt/c/Users/showName.seg –doCEClustering showName

抛出以下异常:

java.io.FileNotFoundException: showName.mfcc (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at com.sun.media.codec.audio.mp3.JS_MP3FileReader.getAudioFileFormat(JS_MP3FileReader.java:82)
    at javax.sound.sampled.AudioSystem.getAudioFileFormat(AudioSystem.java:1070)
    at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.getAudio(AudioFeatureSetFactory.java:162)
    at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.MakeFeature(AudioFeatureSetFactory.java:207)
    at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.MakeMFCCFeature(AudioFeatureSetFactory.java:255)
    at fr.lium.spkDiarization.libFeature.AudioFeatureSet.read(AudioFeatureSet.java:898)
    at fr.lium.spkDiarization.libFeature.AudioFeatureSet.setCurrentShow(AudioFeatureSet.java:1322)
    at fr.lium.spkDiarization.system.Diarization.ester2Diarization(Diarization.java:719)
    at fr.lium.spkDiarization.system.Diarization.run(Diarization.java:634)

我也在Linux上运行它,但抛出相同的异常。

我很不知道为什么它不起作用。根据我的理解,程序将.wav作为输入并输出.seg文件。因此,为什么它会搜索一个据说必须自己计算的.mfcc文件?

非常感谢提前。

0 个答案:

没有答案