运行pre.py时出错,是虚拟内存的问题么?
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
运行pre.py时 报错,
F:\mockingbird\MockingBird-main\MockingBird-main>python pre.py H:/data -d aidatatang_200zh -n 4
Using data from:
H:\data\aidatatang_200zh\corpus\train
aidatatang_200zh: 0%| | 0/1 [00:00
preprocess_dataset(**vars(args))
File "F:\mockingbird\MockingBird-main\MockingBird-main\synthesizer\preprocess.py", line 74, in preprocess_dataset
for speaker_metadata in tqdm(job, dataset, len(speaker_dirs), unit="speakers"):
File "C:\Users\admin\AppData\Local\Programs\Python\Python39\lib\site-packages\tqdm\std.py", line 1195, in __iter__
for obj in iterable:
File "C:\Users\admin\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 870, in next
raise value
MemoryError
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the command from the issue, then inspect encoder/audio.py at trim_long_silences and synthesizer/preprocess_speaker.py at _process_utterance, where the traceback ends in MemoryError. Confirm the cause and document a reproducible resolution or clearly scoped change, with preprocessing completing successfully on the reported dataset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100