mirror of
https://github.com/svc-develop-team/so-vits-svc.git
synced 2025-01-09 04:27:31 +08:00
Update preprocess_hubert_f0.py
This commit is contained in:
parent
38257c46c5
commit
640d1361ca
@ -124,7 +124,7 @@ def parallel_process(filenames, num_processes, f0p, diff, mel_extractor):
|
||||
start = int(i * len(filenames) / num_processes)
|
||||
end = int((i + 1) * len(filenames) / num_processes)
|
||||
file_chunk = filenames[start:end]
|
||||
tasks.append(executor.map(process_batch, file_chunk, f0p, diff, mel_extractor))
|
||||
tasks.append(executor.submit(process_batch, file_chunk, f0p, diff, mel_extractor))
|
||||
for task in tqdm(tasks):
|
||||
task.result()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user