liuxp0827 / govpr Goto Github PK
View Code? Open in Web Editor NEWgmm-ubm voiceprint recognition by golang
License: Apache License 2.0
gmm-ubm voiceprint recognition by golang
License: Apache License 2.0
你好,我使用了govpr做声纹识别实验时发现女性声纹识别得分上区别不明显,身份鉴定不准确,请问能够通过什么手段改善。
(识别实验采用了项目里自带的ubm文件,实验程序实现完全参照example中的程序开发)
我现在完全没有解决的思路,还请提示,谢谢!
运行example时,报错
2017/03/04 21:29:18 [engine.go:59] [E] gzip: invalid header
2017/03/04 21:29:18 [main.go:73] [F] model load failed: gzip: invalid header
但将file/vprfile.go 中的NewVPRFile函数不使用gzip,而是直接换成注释里的内容,问题解决。
Hi,
Thank for your project.
In the example, the UBM file ("../ubm/ubm") is needed and you created by yourself.
vprEngine, err := NewEngine(16000, 50, "../ubm/ubm", "model/test.dat")
Can you please tell me how to generate the UBM file by myself?
Thank you
I've replace wav files in example/wav/train
with my own recordings and found an error when I rebuilt and run the example program.
./example
panic: runtime error: index out of range [62415] with length 62415
goroutine 1 [running]:
github.com/liuxp0827/govpr.(*VPREngine).AddTrainBuffer(0xc000098000, 0xc0000d402c, 0xf3cf, 0xf5cf, 0x0, 0x0)
/Users/ferdi/GOPATH/src/github.com/liuxp0827/govpr/engine.go:163 +0x241
main.(*engine).TrainSpeech(0xc00000e038, 0xc000120000, 0x5, 0x8, 0x0, 0x0)
/Users/ferdi/GOPATH/src/github.com/liuxp0827/govpr/example/main.go:31 +0x9d
main.main()
/Users/ferdi/GOPATH/src/github.com/liuxp0827/govpr/example/main.go:95 +0x210
It's caused by the wrong range in a for loop, where ii < length
should be ii < length - 1
because it's used as int16(buf[ii+1])
in the loop.
for ii := 0; ii < length; ii += 2 {
cBuff16 := int16(buf[ii])
cBuff16 |= int16(buf[ii+1]) << 8
sBuff = append(sBuff, cBuff16)
}
Please have a look at the issue and I'm willing to send a PR.
waveIO.WaveSave() 这个方法怎么使用啊
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.