| | |
| | | |
| | | import humanfriendly |
| | | import torch |
| | | from typeguard import check_argument_types |
| | | |
| | | from funasr.models.frontend.abs_frontend import AbsFrontend |
| | | from funasr.modules.frontends.frontend import Frontend |
| | | from funasr.models.frontend.frontends_utils.frontend import Frontend |
| | | from funasr.modules.nets_utils import pad_list |
| | | from funasr.utils.get_default_kwargs import get_default_kwargs |
| | | |
| | |
| | | download_dir: str = None, |
| | | multilayer_feature: bool = False, |
| | | ): |
| | | assert check_argument_types() |
| | | super().__init__() |
| | | if isinstance(fs, str): |
| | | fs = humanfriendly.parse_size(fs) |