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

Something wrong about GSS realignment from ASR-model #22

Open
ft-speech opened this issue May 10, 2022 · 2 comments
Open

Something wrong about GSS realignment from ASR-model #22

ft-speech opened this issue May 10, 2022 · 2 comments

Comments

@ft-speech
Copy link

Hello,
When i run activity_alignment.py(Generate finetuned time annotations from kaldi worn alignments), there is something wrong ,The following information is an error message:

Warning: Could not find P08_S02-0883960-0884024 in non_sil_alignment.
Warning: Could not find P08_S02-0887758-0888024 in non_sil_alignment.
Warning: Could not find P08_S02-0887758-0888024 in non_sil_alignment.
Warning: Could not find P08_S02-0887758-0888024 in non_sil_alignment.
Warning: Could not find P08_S02-0887758-0888024 in non_sil_alignment.
Warning: Could not find P08_S02-0887758-0888024 in non_sil_alignment.
Warning: Could not find P08_S02-0887758-0888024 in non_sil_alignment.
Warning: Could not find P08_S02-0889164-0889316 in non_sil_alignment.
Warning: Could not find P08_S02-0889164-0889316 in non_sil_alignment.
Warning: Could not find P08_S02-0889164-0889316 in non_sil_alignment.
Warning: Could not find P08_S02-0889164-0889316 in non_sil_alignment.
Warning: Could not find P08_S02-0889164-0889316 in non_sil_alignment.
Warning: Could not find P08_S02-0889164-0889316 in non_sil_alignment.
Traceback (most recent call last):
File "activity_alignment.py", line 198, in
use_ArrayIntervall=True,
File "/kaldi/egs/chime6/pb_chime5/pb_chime5/activity.py", line 214, in get_activity
f'Something went wrong.\n'
RuntimeError: Something went wrong.
Expected 22932 times a finetuned annotation for session S02, but 22932 times they are missing.
Expect that at least 1911 finetuned annotations are available, when non_sil_alignment_fn is given.
Otherwise assume something went wrong.

Thanks a lot if you can answer how to avoid this mistake

@jensheit
Copy link
Member

jensheit commented May 11, 2022

Hi,
it looks like you are trying to run the activity_alignment.py file. This is not recommended since the __main__ function uses a hard-coded path to our kaldi environment.
You can use the __main__ function to get an idea how to use the get_non_sil_alignment_fn_from_kalid function that is provided in this file.

Of course you have to setup a kaldi environment and calculate the alignments in Kaldi if you want to use this function.

Hope this helps

@ft-speech
Copy link
Author

Hi, it looks like you are trying to run the activity_alignment.py file. This is not recommended since the __main__ function uses a hard-coded path to our kaldi environment. You can use the __main__ function to get an idea how to use the get_non_sil_alignment_fn_from_kalid function that is provided in this file.

Of course you have to setup a kaldi environment and calculate the alignments in Kaldi if you want to use this function.

Hope this helps

Thank you very much for your answer. I have solved this problem, but I have another problem :

ERROR - Chime5 Array Enhancement - Failed after 1 day, 10:27:41!
Traceback (most recent calls WITHOUT Sacred internals):
File "/kaldi/egs/chime6/pb_chime5/pb_chime5/scripts/run.py", line 91, in main
run(_run)
File "/kaldi/egs/chime6/pb_chime5/pb_chime5/scripts/run.py", line 128, in run
audio_dir_exist_ok=True
File "/kaldi/egs/chime6/pb_chime5/pb_chime5/core_chime6.py", line 381, in enhance_session
x_hat = self.enhance_example(ex)
File "/kaldi/egs/chime6/pb_chime5/pb_chime5/core_chime6.py", line 495, in enhance_example
debug=debug,
File "/kaldi/egs/chime6/pb_chime5/pb_chime5/core_chime6.py", line 533, in enhance_observation
masks = self.gss_block(Obs, acitivity_freq, debug=debug)
File "/kaldi/egs/chime6/pb_chime5/pb_chime5/core_chime6.py", line 183, in call
source_activity_mask=source_active_mask[f, ..., :T],
File "/kaldi/egs/chime6/pb_chime5/pb_chime5/pb_bss/pb_bss/distribution/cacgmm.py", line 223, in fit
initialization.shape, affiliation_shape
AssertionError: ((5, 1140), (5, 1165))

Do you know what I should do to solve this problem

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