babysor / babysor/MockingBird

预处理数据集出现如下错误

Open
#980 0 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

做预处理数据集时出现如下错误:
E:\Miniconda3\envs\mockingbird\MockingBird-main>python pre.py E:\Miniconda3\envs\mockingbird\MockingBird-main -d aidatatang_200zh -n 1
Ignored unknown kwarg option normalize
Ignored unknown kwarg option normalize
Ignored unknown kwarg option normalize
Ignored unknown kwarg option normalize
Using data from:
E:\Miniconda3\envs\mockingbird\MockingBird-main\aidatatang_200zh\corpus\train
aidatatang_200zh: 0%| | 0/547 [00:00
preprocess_dataset(**vars(args))
File "E:\Miniconda3\envs\mockingbird\MockingBird-main\models\synthesizer\preprocess.py", line 101, in preprocess_dataset
print("Max input length (text chars): %d" % max(len(m[5]) for m in metadata))
ValueError: max() arg is an empty sequence

![3c415e817f0c9484ccbebf3bbfce394](https://github.com/babysor/MockingBird/assets/157026872/31f96d33-151a-4919-8f7c-62d4e3d4a037)

请大神们给予帮助!!!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the reported command from pre.py with the aidatatang_200zh dataset path, then inspect models/synthesizer/preprocess.py around the metadata processing and failing max() call. Determine why the run produces zero utterances, frames, and audio timesteps. Done means the dataset is recognized and preprocessing completes without the empty-sequence error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.