Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running demo sample data type. #66

Open
geekchen007 opened this issue May 29, 2024 · 0 comments
Open

Error running demo sample data type. #66

geekchen007 opened this issue May 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@geekchen007
Copy link

geekchen007 commented May 29, 2024

多说话人示例视频 | Multi-speaker Demo Video

  File "funclip/launch.py", line 46, in mix_recog
    res_text, res_srt, video_state = video_recog(
  File "funclip/launch.py", line 31, in video_recog
    return audio_clipper.video_recog(video_input, sd_switch, hotwords, output_dir=output_dir)
  File "xxx/FunClip/funclip/videoclipper.py", line 158, in video_recog
    return self.recog((16000, wav), sd_switch, state, hotwords, output_dir)
  File "xxx/FunClip/funclip/videoclipper.py", line 52, in recog
    rec_result = self.funasr_model.generate(data,...
TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
@R1ckShi R1ckShi added the bug Something isn't working label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants