Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: First src/hmm wraps + module + Darwin compilation #89

Open
wants to merge 1 commit into
base: pybind11
Choose a base branch
from

Conversation

jtrmal
Copy link

@jtrmal jtrmal commented Dec 19, 2019

The makefile infrastructure is very crude (close to nonfunctional) ATM


using namespace kaldi;

void pybind_hmm_tree_accu(py::module& m) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Do you want me to merge this soon or wait?
BTW, it's not clear to me that we'd need this part of the code anytime soon.. I would start with tree, hmm, transition-model, posteriors, and functions that operate on them. Incidentally, in the kaldi10 branch I made some nice simplifications to the tree, HMM, transition-model code; but it never seems to be a good time to merge. (Breaks back compatibility).

@jtrmal
Copy link
Author

jtrmal commented Dec 19, 2019 via email

@danpovey
Copy link
Owner

danpovey commented Dec 19, 2019 via email

@jtrmal
Copy link
Author

jtrmal commented Dec 19, 2019

I sent question in the kaldi10... Hopefully someone will know the answer and it will be useful for other people...

@naxingyu
Copy link

From my limited experience, any custom types not in this table need to be wrapped. Otherwise, python does not know what kind of object it is.

@jtrmal
Copy link
Author

jtrmal commented Dec 19, 2019 via email

@csukuangfj
Copy link

I have refactored the Makefile in this pullrequest: https://github.com/danpovey/kaldi/pull/88/files

now you can use make -j and you do not need to recompile all .cc files if you
made changes only to one cc file.

@jtrmal
Copy link
Author

jtrmal commented Dec 19, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants