-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[!156][STREAMING] Add baseline FixedAudioHistorySelection for StreamST
# Why is the change needed? To compare the new StreamAtt policy, it is useful to have a baseline that cuts the audio based on the number of textual history words discarded * fixed word duration (of 280ms, following previous work) to compare with. # What changes does the patch introduce? Adds a text-first history selection method that implements this logic: - first, the new textual history is selected based on a fixed number of words to retain - second, the number of words discarded (the difference between the textual history words of the previous step and the fixed number of words to retain) are multiplied by a fixed duration (here, 280ms) and these frames are cut from the audio history # How was this patch tested? UTs
- Loading branch information
Showing
2 changed files
with
87 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters