Skip to content

Remove sinusoid detection code and old SGMM code/scripts#1329

Merged
danpovey merged 1 commit intokaldi-asr:masterfrom
LvHang:master
Jan 11, 2017
Merged

Remove sinusoid detection code and old SGMM code/scripts#1329
danpovey merged 1 commit intokaldi-asr:masterfrom
LvHang:master

Conversation

@LvHang
Copy link
Contributor

@LvHang LvHang commented Jan 10, 2017

@danpovey
As your guidance, I modify something about #1315

  1. I remove the sinusoid-detection{-test}.{h,cc} in src/feat and detect-sinusoids.cc in src/featbin and the sgmm/sgmmbin directories. At the same time, I fixed the makefile in the src/, src/feat/ and src/featbin. I try to make and "make clean; make". All goes smoothly.
  2. I remove the scripts which call sgmm binaries. After generate the candidates with command "find egs -name 'sgmm' -not -name 'sgmm2' -print", I check each file and remove the files which call old sgmm.
  3. I check whether the deleted files are called by other top scripts one by one and modify them.
    Please Check it. Thanks

Best Wishes,
Hang

@danpovey
Copy link
Contributor

danpovey commented Jan 10, 2017 via email

@LvHang
Copy link
Contributor Author

LvHang commented Jan 10, 2017

@danpovey
Hi Dan,

I fix the bug--delete the ../sgmm//libkaldi-sgmm.so in the Makefile of decoder/.
After the update and git push. I download the newest codes from my remote repository and compile them. All passed.
Please check it. Thanks.

Best wishes,
Hang

@danpovey
Copy link
Contributor

Have you grepped in all the run.sh files for 'sgmm' to see if there are commented-out invocations to the SGMM scripts that you need to delete?

fix

delete the commented-out invocations about sgmm and some others
@LvHang
Copy link
Contributor Author

LvHang commented Jan 11, 2017

@danpovey
Hi Dan,

I run the command--" find ./ -name 'run.sh' -print | xargs grep -n 'sgmm' > info" and check the output file line by line. Now I think all in the run.sh isn't about sgmm.
In addition, I run the command--" grep -r 'sgmm' ./* " in both src/ and egs/ directories, and check all lines. I try my best to modify all of them. I hope I have fixed all about old sgmm.
Please check it. Thanks a lot.

Best wishes,
Hang

@danpovey danpovey merged commit 69b616d into kaldi-asr:master Jan 11, 2017
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.

2 participants