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

DTW error #9

Open
ttslr opened this issue Jan 21, 2020 · 4 comments
Open

DTW error #9

ttslr opened this issue Jan 21, 2020 · 4 comments

Comments

@ttslr
Copy link

ttslr commented Jan 21, 2020

Hello, thanks for your contributing !

When I use <get_mcd_dtw> to calculate the mcd of two mgc file which obtained by pysptk. one error appear like below:

File "........../lib/python3.6/site-packages/mcd/dtw.py", line 44, in getBestPath
(cumMat[i, j], (i - 1, j - 1)),
IndexError: index -1644 is out of bounds for axis 0 with size 1643

Do you have any good solutions to this problem?
Thank you very much!

@SamuelBroughton
Copy link

Hi @ttslr how did you calculate the mgc using pysptk? For example I have two wav files

@ttslr
Copy link
Author

ttslr commented Feb 22, 2020

Hi @ttslr how did you calculate the mgc using pysptk? For example I have two wav files

Hi, maybe you can use my code(https://github.com/ttslr/python-MCD) to calculate the mgc from wav files and generate the MCD value.

@SamuelBroughton
Copy link

Thanks! I actually also got the code working without using mgc, I will have a repo out today or tomorrow that takes wavs and outputs mcd

@ttslr
Copy link
Author

ttslr commented Feb 22, 2020

Thanks! I actually also got the code working without using mgc, I will have a repo out today or tomorrow that takes wavs and outputs mcd

Good Job!

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

No branches or pull requests

2 participants