Kedreamix / Linly-Dubbing

智能视频多语言AI配音/翻译工具 - Linly-Dubbing — “AI赋能,语言无界”
Apache License 2.0
1.75k stars 151 forks source link

出现问题:Library cublas64_12.dll is not found or cannot be loaded #8

Closed WalkingwithAI closed 2 months ago

WalkingwithAI commented 2 months ago

麻烦大佬看下,HF_Token设置了,CUDA安装的11.8版,环境变量配置没问题。

出现以下错误:D:\Miniconda\envs\linly_dubbing\lib\site-packages\pyannote\audio\core\io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call. torchaudio.set_audio_backend("soundfile") failed to import ttsfrd, use WeTextProcessing instead Running on local URL: http://127.0.0.1:6006 Running on public URL: https://7cd9977e994338c3ee.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run gradio deploy from Terminal to deploy to Spaces (https://huggingface.co/spaces) 2024-08-20 21:58:45.300 | INFO | tools.step010_demucs_vr:load_model:21 - Loading Demucs model: htdemucs_ft 2024-08-20 21:58:45.301 | INFO | tools.step042_tts_xtts:load_model:24 - Loading TTS model from models/TTS/XTTS-v2 Loading TTS model from models/TTS/XTTS-v2 2024-08-20 21:58:45.302 | INFO | tools.step021_asr_whisperx:load_whisper_model:36 - Loading WhisperX model: models/ASR/whisper\faster-whisper-large-v3

Using model: xtts No language specified, language will be first be detected for each audio file (increases inference time). Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.4.0. To apply the upgrade to your files permanently, run python -m pytorch_lightning.utilities.upgrade_checkpoint C:\Users\HCl\.cache\torch\whisperx-vad-segmentation.bin Model was trained with pyannote.audio 0.0.1, yours is 3.1.1. Bad things might happen unless you revert pyannote.audio to 0.x. Model was trained with torch 1.10.0+cu102, yours is 2.3.1+cu118. Bad things might happen unless you revert torch to 1.x. 2024-08-20 21:58:50.163 | INFO | tools.step021_asr_whisperx:load_whisper_model:40 - Loaded WhisperX model: models/ASR/whisper\faster-whisper-large-v3 in 4.86s 2024-08-20 21:58:52.428 | INFO | tools.step021_asr_whisperx:load_align_model:53 - Loaded alignment model: en in 2.26s 2024-08-20 21:58:55.402 | INFO | tools.step010_demucs_vr:load_model:25 - Demucs model loaded in 10.10 seconds 2024-08-20 21:58:59.647 | INFO | tools.step042_tts_xtts:load_model:35 - TTS model loaded in 14.35s [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1kr421M7vz/ [BiliBili] 1kr421M7vz: Downloading webpage [BiliBili] BV1kr421M7vz: Extracting videos in anthology [BiliBili] Format(s) 4K 超清, 1080P 高码率, 1080P 高清, 720P 高清 are missing; you have to login or become a premium member to download them. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies [BiliBili] 1406337061: Extracting chapters 2024-08-20 21:59:01.069 | INFO | tools.step000_video_downloader:download_single_video:35 - Video already downloaded in videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-08-20 21:59:01.070 | INFO | tools.do_everything:process_video:43 - Process video in videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-08-20 21:59:01.071 | INFO | tools.step010_demucs_vr:separate_all_audio_under_folder:114 - Audio already separated in videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子 在水城威尼斯发来问候 2024-08-20 21:59:01.071 | INFO | tools.step010_demucs_vr:separate_all_audio_under_folder:115 - All audio separated under videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-08-20 21:59:01.071 | INFO | tools.step020_asr:transcribe_audio:70 - Transcribing videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\audio_vocals.wav Warning: audio is shorter than 30s, language detection may be inaccurate. 2024-08-20 21:59:01.854 | ERROR | tools.do_everything:process_video:60 - Error processing video (英文无字幕) 阿里这小子在水城威尼斯发来问候: Library cublas64_12.dll is not found or cannot be loaded 2024-08-20 21:59:01.854 | INFO | tools.step000_video_downloader:download_single_video:35 - Video already downloaded in videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-08-20 21:59:01.855 | INFO | tools.do_everything:process_video:43 - Process video in videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-08-20 21:59:01.855 | INFO | tools.step010_demucs_vr:separate_all_audio_under_folder:114 - Audio already separated in videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子 在水城威尼斯发来问候 2024-08-20 21:59:01.855 | INFO | tools.step010_demucs_vr:separate_all_audio_under_folder:115 - All audio separated under videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-08-20 21:59:01.856 | INFO | tools.step020_asr:transcribe_audio:70 - Transcribing videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\audio_vocals.wav Warning: audio is shorter than 30s, language detection may be inaccurate. 2024-08-20 21:59:02.007 | ERROR | tools.do_everything:process_video:60 - Error processing video (英文无字幕) 阿里这小子在水城威尼斯发来问候: Library cublas64_12.dll is not found or cannot be loaded 2024-08-20 21:59:02.008 | INFO | tools.step000_video_downloader:download_single_video:35 - Video already downloaded in videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-08-20 21:59:02.008 | INFO | tools.do_everything:process_video:43 - Process video in videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-08-20 21:59:02.009 | INFO | tools.step010_demucs_vr:separate_all_audio_under_folder:114 - Audio already separated in videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子 在水城威尼斯发来问候 2024-08-20 21:59:02.009 | INFO | tools.step010_demucs_vr:separate_all_audio_under_folder:115 - All audio separated under videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-08-20 21:59:02.010 | INFO | tools.step020_asr:transcribe_audio:70 - Transcribing videos\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\audio_vocals.wav Warning: audio is shorter than 30s, language detection may be inaccurate.

Kedreamix commented 2 months ago

可参考这个方式解决 https://github.com/rakuri255/UltraSinger/issues/140