Fatfish588 / Dataset_Generator_For_VITS

基于达摩院视频切割技术的视频转换为短音频的vits数据集生成工具 A VITS Dataset Generation Tool for Converting Video to Short Audio Based on Damo Academy Video Cutting Technology
MIT License
50 stars 7 forks source link

是为什么报错了呢,求解 #1

Closed aurxs closed 9 months ago

aurxs commented 9 months ago

按着教程来的,在首次尝试启动webui后,遇到以下错误: C:\Users\Admin\anaconda3\envs\Dataset_Denerator_For_VITS\python.exe D:\Program\Dataset_Denerator_For_VITS\ClipVideo\clipvideo\gradio_service.py 2023-12-25 14:10:23,596 - modelscope - INFO - PyTorch version 2.0.1+cu118 Found. 2023-12-25 14:10:23,598 - modelscope - INFO - Loading ast index from C:\Users\Admin\.cache\modelscope\ast_indexer 2023-12-25 14:10:23,702 - modelscope - INFO - Loading done! Current index file version is 1.10.0, with md5 1ecb6a5a1cb9fdee6e989d2172975d69 and a total number of 946 components indexed 2023-12-25 14:10:25,665 - modelscope - WARNING - Model revision not specified, use revision: v1.2.4 2023-12-25 14:10:26,025 - modelscope - INFO - initiate model from C:\Users\Admin\.cache\modelscope\hub\damo\speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch 2023-12-25 14:10:26,025 - modelscope - INFO - initiate model from location C:\Users\Admin\.cache\modelscope\hub\damo\speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch. 2023-12-25 14:10:26,028 - modelscope - INFO - initialize model from C:\Users\Admin\.cache\modelscope\hub\damo\speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch 2023-12-25 14:10:26,033 - modelscope - WARNING - No preprocessor field found in cfg. 2023-12-25 14:10:26,033 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file. 2023-12-25 14:10:26,033 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': 'C:\\Users\\Admin\\.cache\\modelscope\\hub\\damo\\speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch'}. trying to build by task and model information. 2023-12-25 14:10:26,033 - modelscope - WARNING - No preprocessor key ('generic-asr', 'auto-speech-recognition') found in PREPROCESSOR_MAP, skip building preprocessor. 2023-12-25 14:10:26,842 - modelscope - WARNING - Model revision not specified, use revision: v1.2.0 2023-12-25 14:10:27,109 - modelscope - INFO - loading vad model from C:\Users\Admin\.cache\modelscope\hub\damo\speech_fsmn_vad_zh-cn-16k-common-pytorch ... 2023-12-25 14:10:27,788 - modelscope - WARNING - Model revision not specified, use revision: v1.1.7 2023-12-25 14:10:28,089 - modelscope - INFO - loading punctuation model from C:\Users\Admin\.cache\modelscope\hub\damo\punc_ct-transformer_zh-cn-common-vocab272727-pytorch ... Traceback (most recent call last): File "D:\Program\Dataset_Denerator_For_VITS\ClipVideo\clipvideo\gradio_service.py", line 137, in <module> demo.queue(concurrency_count=3).launch() File "C:\Users\Admin\anaconda3\envs\Dataset_Denerator_For_VITS\lib\site-packages\gradio\blocks.py", line 1715, in queue raise DeprecationWarning( DeprecationWarning: concurrency_count has been deprecated. Set the concurrency_limit directly on event listeners e.g. btn.click(fn, ..., concurrency_limit=10) or gr.Interface(concurrency_limit=10). If necessary, the total number of workers can be configured viamax_threadsin launch(). image

Fatfish588 commented 9 months ago

这个还真没遇到过,看上去是开gradio时下载模型遇到了问题,检查一下各种环境版本和readme一不一样,然后把梯子关了再试试。