forked from modelscope/ClearerVoice-Studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add real-time processing for FRCRN_SE_16K
Related to modelscope#23 Add real-time processing support for the FRCRN_SE_16K model. * **clearvoice/models/frcrn_se/frcrn.py** - Add a new method `real_time_process` to the `FRCRN_SE_16K` class for real-time processing. - Modify the `forward` method to support both offline and real-time processing. - Update the `DCCRN` class to handle real-time processing. * **clearvoice/config/inference/FRCRN_SE_16K.yaml** - Change `win_len` to 320 to use 20 ms input windows. - Change `win_inc` to 160 to use 20 ms input windows. * **clearvoice/demo.py** - Add a new demo case for real-time processing using the `FRCRN_SE_16K` model. * **clearvoice/demo_with_more_comments.py** - Add a new demo case for real-time processing using the `FRCRN_SE_16K` model.
- Loading branch information
1 parent
2e8ebfd
commit 4f874e2
Showing
4 changed files
with
102 additions
and
5 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
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