Open Anlucver opened 2 years ago
我是双系统电脑,在window环境下依然也是这个报错
╭─ayn@Ayn in ~/Alstnc/MockingBird-main via v3.9.8 took 1m36s [🔴] × lspci |grep -i vga 00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05) 01:00.0 VGA compatible controller: NVIDIA Corporation TU117M (rev a1)
╭─ayn@Ayn in ~/Alstnc/MockingBird-main via v3.9.8 took 2s ╰─λ pyenv global system
╭─ayn@Ayn in ~/Alstnc/MockingBird-main via v3.10.4 took 21ms ╰─λ pyenv global 3.9.8
╭─ayn@Ayn in ~/Alstnc/MockingBird-main via v3.9.8 took 15ms ╰─λ
显卡:集显加独显 python是pyenv模拟的3.9.8 cuda 10.2
╭─ayn@Ayn in ~/Alstnc/MockingBird-main via v3.9.8 took 1m32s [🔴] × python pre.py /home/ayn/Alstnc/ayn/ -d aidatatang_200zh -n 7 Using data from: /home/ayn/Alstnc/ayn/aidatatang_200zh/corpus/train aidatatang_200zh: 0%| | 0/1 [01:34<?, ?speakers/s] multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/home/ayn/.pyenv/versions/3.9.8/lib/python3.9/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/home/ayn/Alstnc/MockingBird-main/synthesizer/preprocess_speaker.py", line 96, in preprocess_speaker_general wav, text = _split_on_silences(wav_fpath, words, hparams) File "/home/ayn/Alstnc/MockingBird-main/synthesizer/preprocess_speaker.py", line 66, in _split_onsilences wav, = librosa.load(wav_fpath, sr= hparams.sample_rate) File "/home/ayn/.pyenv/versions/3.9.8/lib/python3.9/site-packages/librosa/core/audio.py", line 175, in load y = resample(y, sr_native, sr, res_type=res_type) File "/home/ayn/.pyenv/versions/3.9.8/lib/python3.9/site-packages/librosa/core/audio.py", line 604, in resample y_hat = resampy.resample(y, orig_sr, target_sr, filter=res_type, axis=-1) File "/home/ayn/.pyenv/versions/3.9.8/lib/python3.9/site-packages/resampy/core.py", line 97, in resample raise ValueError('Input signal length={} is too small to ' ValueError: Input signal length=0 is too small to resample from 48000->16000 """
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/ayn/Alstnc/MockingBird-main/pre.py", line 74, in
preprocess_dataset(**vars(args))
File "/home/ayn/Alstnc/MockingBird-main/synthesizer/preprocess.py", line 74, in preprocess_dataset
for speaker_metadata in tqdm(job, dataset, len(speaker_dirs), unit="speakers"):
File "/home/ayn/.pyenv/versions/3.9.8/lib/python3.9/site-packages/tqdm/std.py", line 1195, in iter
for obj in iterable:
File "/home/ayn/.pyenv/versions/3.9.8/lib/python3.9/multiprocessing/pool.py", line 870, in next
raise value
ValueError: Input signal length=0 is too small to resample from 48000->16000