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

invoke python2.7 for mmseg #3244

Merged
merged 2 commits into from
Apr 18, 2019
Merged

Conversation

naxingyu
Copy link
Contributor

@naxingyu naxingyu commented Apr 18, 2019

For fixing #3238

@danpovey danpovey merged commit 299b111 into kaldi-asr:master Apr 18, 2019
@naxingyu
Copy link
Contributor Author

naxingyu commented Apr 18, 2019 via email

@kkm000
Copy link
Contributor

kkm000 commented Apr 18, 2019

My take is that keeping dead recipes in egs/ is not the best approach overall. If all it takes is the same 3-line fix, I would.

But that's a good general question. Since the egs are often part of published/reproducible results, they better be kept, but they become a maintenance burden. But Git remembers everything; anyone can get an eg and the codebase as they were when a recipe was published. It makes sense to me to keep only the README and RESULTS files for outdated egs, and add a note to the README how to get the old eg code by its commit (simple instructions to the user how to do it, like git checkout deadc0de42). git blame RESULTS is the best way to see the history of reference results at a glance; this file receives no other edits in practice; mentioning the command could be a good idea too, We probably should get to it when Dan has a breather.

@danpovey
Copy link
Contributor

danpovey commented Apr 18, 2019 via email

@kkm000
Copy link
Contributor

kkm000 commented Apr 19, 2019

@danpovey, this makes sense. Even outdated egs can serve as examples. This requires marking them as no longer maintained, and that the users have an easy way--they do, I should say rather say know the easy way to pull the historical working slice. And I also see how people submit PRs, on top of random outdated branches. Both these issues converge on a more efficient use of Git by the users. I understand why do you rebase/collapse when merging: this is mainly because how the patches are sent in, sometimes on top of random branches neglected for years. Merging there as normal topo merge commits would turn the log graph into a horryfying bundle of capellini.

So I have been pondering writing a guide on efficient Git use for Kaldi users and occasional contributors. We touch on that in the docs, but just too briefly. I'm going to start when I have less rush at work. Are you ok with putting it into the main repo Wiki section on GitHub? It can be collaboratively edited there, too. We could convert them into a docx by the end, or leave there--that we could decide later. Is this ok by you?

@danpovey
Copy link
Contributor

danpovey commented Apr 19, 2019 via email

@kkm000
Copy link
Contributor

kkm000 commented Apr 19, 2019

Yup. I noticed most first-timers tend to start with the largest dataset they can get hold of (my first was tedlium). I like learning stuff the hard way, but I know for others it may be discouraging.

@naxingyu, by the way, FYI:

For fixing #3238

The list of keywords GH understands: https://help.github.com/en/articles/closing-issues-using-keywords. "Fix", "fixes" or "fixed" would do it, but "fixing" they do not match.

@naxingyu
Copy link
Contributor Author

@kkm000 oh, didn't know that, thanks!

danpovey pushed a commit to danpovey/kaldi that referenced this pull request Jun 19, 2019
@naxingyu naxingyu deleted the invoke-py2-mmseg branch October 28, 2019 04:35
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.

3 participants