Skip to content

torch is required? #1

Description

@wangfeng35

Thanks for the project. I run the script, and got this error:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "E:\FireRedVAD-Engineering\.venv\Scripts\fireredvad.exe\__main__.py", line 2, in <module>
  File "E:\FireRedVAD-Engineering\fireredvad\cli.py", line 20, in <module>
    from inference.streaming import StreamVAD, StreamVadConfig
  File "E:\FireRedVAD-Engineering\inference\streaming.py", line 25, in <module>
    from fireredvad.core.audio_feat import AudioFeat
  File "E:\FireRedVAD-Engineering\fireredvad\core\audio_feat.py", line 10, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'

Does it mean the torch is a must-have requirement? Is there another way to realize the feat = torch.from_numpy(fbank).float() without import torch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions