-
Notifications
You must be signed in to change notification settings - Fork 248
Description
Hi.
I'm using NeMo project with lhotse, but I think it seems like there's a bug at merge_supervisions.
After adding noise by CutSet:mix, MixedCut:merge_supervisions cause warning at here.
_maybe_truncate_cut call DataCut:truncate and update cut and supervisions.
At that point, duration_past_end is used for supervisions start and duration, which differ from cut.start and cut.duration.
Since MixedCut:merge_supervisions uses sups[i].start and sups[i].duration, the truncated noise has little bit weired start and duration value.
Because the noise is also one of element of MixedCut, this line thought those segments are overlapped.
Is there any way to solve this? Should I change the sequence of lhotse augmentation?
current: add noise -> concatenate_samples & mege_supervisions
to: concatenate_samples & mege_supervisions -> add noise
Thanks in advance.