pb_bss icon indicating copy to clipboard operation
pb_bss copied to clipboard

Generate finetuned time annotations from kaldi worn alignments

Open ft-speech opened this issue 2 years ago • 1 comments

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: 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

ft-speech avatar May 20 '22 17:05 ft-speech

Hello,

this error message tells you, that the shape of the initialization is wrong. It should have 1165 frames to match the observation, but has only 1140 frames. My guess is, that your alignments are calculated on shorter data. It is not clear, where zeros should be padded (front, end, symmetric, ...). Can you check, if your worn data has the same length as the array data?

boeddeker avatar May 22 '22 21:05 boeddeker