Skip to content

Conversation

@rjcobain
Copy link
Contributor

The plugin is not recognised as valid when using the master gstreamer branch because the symname is extracted from the filename, https://github.com/GStreamer/gstreamer/blob/master/gst/gstplugin.c#L685

The plugin is not recognised as valid when using the master gstreamer branch because the symname is extracted from the filename, https://github.com/GStreamer/gstreamer/blob/master/gst/gstplugin.c#L685
@danpovey
Copy link
Contributor

I don't follow the gstreamer enough to really know whether this is right, but you sound like you know what you are talking about -> merging.

@danpovey
Copy link
Contributor

Actually before I merge, can you confirm that this doesn't break the example in Kaldi (I think it was vystadial_cz or something).

@rjcobain
Copy link
Contributor Author

Hi Dan, will check them now, there are a couple of other files that reference libgstkaldi.so

@rjcobain
Copy link
Contributor Author

Having some trouble getting the vystadial demos to run, will try again tomorrow. The demo gst_demo/run-simulated.sh was updated and it runs fine.

@rjcobain
Copy link
Contributor Author

The vystadial demos are horribly broken and out of date, but I managed to get some of them running from a docker image ufaldsg/pykaldi. They do not appear to have any dependency on the gst-plugin

@danpovey
Copy link
Contributor

OK, I'll merge. If you think it makes sense to just delete the vystadial demo, let me know. They may be doing more harm than good.

@danpovey danpovey merged commit 09b0176 into kaldi-asr:master Feb 18, 2018
@rjcobain
Copy link
Contributor Author

I wouldn't like to make that call, maybe if someone else could have a look at them, maybe I made a mistake. The problem, as far as I can see, is that they depend on an old python wrapper for Kaldi, https://github.com/UFAL-DSG/pykaldi/ I tried using the current wrapper, https://github.com/pykaldi/pykaldi but it didn't work due to api changes. PyKaldi also relies on a fork of Kaldi. The project says that "We are hoping to upstream these changes over time.". Once their changes get merged then it might be possible to update/fix these demos.

@rjcobain rjcobain deleted the rjcobain-patch-1 branch February 18, 2018 23:21
@danpovey
Copy link
Contributor

danpovey commented Feb 18, 2018 via email

@dogancan
Copy link
Contributor

@danpovey I don't know much about the vystadial example. I also don't know if the old pykaldi package the vystadial scripts depend on is compatible with kaldi any more. Maybe we should ask @oplatek?

@rjcobain The new pykaldi package has no connection with other python wrappers written for kaldi. We have no intention of adding support for the Python APIs provided by other packages. If by "it didn't work due to api changes", you meant it does not support the API of the old pykaldi package, unfortunately that won't change in the future. Updating vystadial demo to work with new pykaldi is doable but not trivial since it uses a custom decoder defined in the old pykaldi package. On the other hand, we have every intention of supporting kaldi C++ API. In fact, I just finished updating pykaldi for kaldi v5.4. I also updated our kaldi fork so it is caught up with the upstream. I am hoping we can upstream the changes we made to Kaldi in the near future. I just haven't had the opportunity yet.

@rjcobain
Copy link
Contributor Author

Thanks for the explanation Dogan, I am not a Python developer but even I should have noticed that they are completely different!

@oplatek
Copy link
Contributor

oplatek commented Feb 21, 2018

@dogancan I do not think that vystadial scripts have ever been dependent on pykaldi (my very old Python wrapper of kaldi)

LvHang pushed a commit to LvHang/kaldi that referenced this pull request Apr 14, 2018
Skaiste pushed a commit to Skaiste/idlak that referenced this pull request Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants