Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
homeostasis
gst-kaldi-nnet2-online
Commits
978352b4
Commit
978352b4
authored
Sep 24, 2014
by
tanel
Browse files
doc changes
parent
de274202
Changes
1
Hide whitespace changes
Inline
Side-by-side
README
→
README
.md
View file @
978352b4
WHAT IT IS
----------
# WHAT IT IS
GStreamer plugin that wraps Kaldi's SingleUtteranceNnet2Decoder. It uses iVector-adapted
GStreamer plugin that wraps Kaldi's SingleUtteranceNnet2Decoder. It requires iVector-adapted
DNN acoustic models. The iVectors are adapted to the current audio stream automatically.
The iVectors are reset after the decoding session (stream) ends.
Currently, it's not possible to save the adapt
ed iVectors
and recall t
hem
later
Currently, it's not possible to save the adapt
ation state
and recall
i
t later
for a particular speaker, to make the adaptation persistent over multiple decoding
sessions.
HOW TO COMPILE IT
-----------------
# HOW TO COMPILE IT
The following works on Linux (I'm using Debian 'testing').
Compile Kaldi trunk, using the shared configuration:
In Kaldi's 'src' directory:
./configure --shared
make depend
make
./configure --shared
make depend
make
Install gstreamer-1.0:
sudo apt-get install gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gstreamer1.0-plugins-ugly gstreamer1.0-tools libgstreamer1.0-dev
sudo apt-get install gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gstreamer1.0-plugins-ugly gstreamer1.0-tools libgstreamer1.0-dev
Now we can compile this plugin. Change to
'
src
'
of this project:
Now we can compile this plugin. Change to
`
src
`
of this project:
cd src
cd src
Compile, specifying Kaldi's root directory:
make depend
KALDI_ROOT=/path/of/kaldi-trunk make
make depend
KALDI_ROOT=/path/of/kaldi-trunk make
This should result in 'libgstkaldionline2.so'.
Test if GStreamer can access the plugin:
GST_PLUGIN_PATH=. gst-inspect-1.0 kaldinnet2onlinedecoder
GST_PLUGIN_PATH=. gst-inspect-1.0 kaldinnet2onlinedecoder
HOW TO USE IT
-------------
# HOW TO USE IT
Command-line usage is demonstrated in
`demo/`
.
Usage through GSTreamer's Python bindings is demonstrated in
https://github.com/alumae/kaldi-gstreamer-server
(
kaldigstserver/decoder2.py
)
.
Usage through GSTreamer's Python bindings is demonstrated in
https://github.com/alumae/kaldi-gstreamer-server
/
kaldigstserver/decoder2.py.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment