babysor / babysor/MockingBird

ValueError: Input signal length=0 is too small to resample from 48000->16000

Open
#597 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36.9k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

╭─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:3416000
"""

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with the documented `python pre.py` command and inspect `synthesizer/preprocess_speaker.py`, especially `_split_on_silences` and `preprocess_speaker_general`. Trace which input reaches `librosa.load` with length zero, then verify that dataset preprocessing handles or clearly reports that input without the multiprocessing job crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.