[DEBUG] 开始说话人分离,使用 pyannote/speaker-diarization-3.1 模型
[ERROR] 说话人分离出错'NoneType' object has no attribute 'write':Traceback (most recent call last):
File "videotrans\process\prepare_audio.py", line 369, in pyannote_speakers
File "videotrans\process\prepare_audio.py", line 333, in _get_diariz
File "pyannote\audio\core\pipeline.py", line 90, in from_pretrained
config_yml = hf_hub_download(File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\file_download.py", line 1010, in hf_hub_download
File "huggingface_hub\file_download.py", line 1171, in _hf_hub_download_to_cache_dir
File "huggingface_hub\file_download.py", line 1738, in _download_to_tmp_and_move
File "huggingface_hub\file_download.py", line 451, in http_get
File "huggingface_hub\utils\tqdm.py", line 299, in _get_progress_bar_context
File "huggingface_hub\utils\tqdm.py", line 225, in init
File "tqdm\asyncio.py", line 24, in init
File "tqdm\std.py"
......
69, in pyannote_speakers
File "videotrans\process\prepare_audio.py", line 333, in _get_diariz
File "pyannote\audio\core\pipeline.py", line 90, in from_pretrained
config_yml = hf_hub_download(File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\file_download.py", line 1010, in hf_hub_download
File "huggingface_hub\file_download.py", line 1171, in _hf_hub_download_to_cache_dir
File "huggingface_hub\file_download.py", line 1738, in _download_to_tmp_and_move
File "huggingface_hub\file_download.py", line 451, in http_get
File "huggingface_hub\utils\tqdm.py", line 299, in _get_progress_bar_context
File "huggingface_hub\utils\tqdm.py", line 225, in init
File "tqdm\asyncio.py", line 24, in init
File "tqdm\std.py", line 1098, in init
File "tqdm\std.py", line 1347, in refresh
File "tqdm\std.py", line 1495, in display
File "tqdm\std.py", line 459, in print_status
File "tqdm\std.py", line 452, in fp_write
File "tqdm\utils.py", line 140, in getattr
AttributeError: 'NoneType' object has no attribute 'write'
[DEBUG] [新进程任务 结束:title='Begin separating the speakers:pyannote'],耗时5.005030155181885s
[ERROR] 说话人分离失败,跳过 'NoneType' object has no attribute 'write'Traceback (most recent call last):
File "videotrans\process\prepare_audio.py", line 369, in pyannote_speakers
File "videotrans\process\prepare_audio.py", line 333, in _get_diariz
File "pyannote\audio\core\pipeline.py", line 90, in from_pretrained
config_yml = hf_hub_download(File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\file_download.py", line 1010, in hf_hub_download
File "huggingface_hub\file_download.py", line 1171, in _hf_hub_download_to_cache_dir
File "huggingface_hub\file_download.py", line 1738, in _download_to_tmp_and_move
File "huggingface_hub\file_download.py", line 451, in http_get
File "huggingface_hub\utils\tqdm.py", line 299, in _get_progress_bar_context
File "huggingface_hub\utils\tqdm.py", line 225, in init
File "tqdm\asyncio.py", line 24, in init
File "tqdm\std.py", line 1098, in init
File "tqdm\std.py", line 1347, in refresh
File "tqdm\std.py", line 1495, in display
File "tqdm\std.py", line 459, in print_status
File "tqdm\std.py", line 452, in fp_write
File "tqdm\utils.py", line 140, in getattr
AttributeError: 'NoneType' object has no attribute 'write'
Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 575, in diariz
File "videotrans\configure\base.py", line 272, in _new_process
videotrans.configure.excepts.VideoTransError: 'NoneType' object has no attribute 'write'Traceback (most recent call last):
File "videotrans\process\prepare_audio.py", line 369, in pyannote_speakers
File "videotrans\process\prepare_audio.py", line 333, in _get_diariz
File "pyannote\audio\core\pipeline.py", line 90, in from_pretrained
config_yml = hf_hub_download(File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\file_download.py", line 1010, in hf_hub_download
File "huggingface_hub\file_download.py", line 1171, in _hf_hub_download_to_cache_dir
File "huggingface_hub\file_download.py", line 1738, in _download_to_tmp_and_move
File "huggingface_hub\file_download.py", line 451, in http_get
File "huggingface_hub\utils\tqdm.py", line 299, in _get_progress_bar_context
File "huggingface_hub\utils\tqdm.py", line 225, in init
File "tqdm\asyncio.py", line 24, in init
File "tqdm\std.py", line 1098, in init
File "tqdm\std.py", line 1347, in refresh
File "tqdm\std.py", line 1495, in display
File "tqdm\std.py", line 459, in print_status
File "tqdm\std.py", line 452, in fp_write
File "tqdm\utils.py", line 140, in getattr
AttributeError: 'NoneType' object has no attribute 'write'