You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fap loudness-norm processed_data processed_data2 --clean --num-workers 1
2024-10-26 20:10:01.294 | INFO | fish_audio_preprocess.utils.file:make_dirs:95 - Cleaning output directory: processed_data2
2024-10-26 20:10:01.521 | INFO | fish_audio_preprocess.cli.loudness_norm:loudness_norm:74 - Found 6522 files, normalizing loudness
Preparing tasks: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6522/6522 [00:00<00:00, 13284.66it/s]
Processing: 5%|████████▏ | 310/6522 [00:06<02:30, 41.18it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 7%|████████████▏ | 459/6522 [00:10<02:39, 38.03it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 43%|██████████████████████████████████████████████████████████████████████████▏ | 2811/6522 [01:10<01:55, 32.02it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 44%|███████████████████████████████████████████████████████████████████████████ | 2847/6522 [01:11<02:00, 30.58it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 44%|███████████████████████████████████████████████████████████████████████████▋ | 2868/6522 [01:12<02:00, 30.20it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 44%|████████████████████████████████████████████████████████████████████████████▏ | 2888/6522 [01:13<02:07, 28.59it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 46%|███████████████████████████████████████████████████████████████████████████████▋ | 3023/6522 [01:17<01:59, 29.24it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 47%|█████████████████████████████████████████████████████████████████████████████████▍ | 3090/6522 [01:19<01:45, 32.55it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 51%|████████████████████████████████████████████████████████████████████████████████████████▎ | 3349/6522 [01:27<01:12, 43.55it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:26: RuntimeWarning: divide by zero encountered in scalar divide
gain = np.power(10.0, target/20.0) / current_peak
/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:27: RuntimeWarning: invalid value encountered in multiply
output = gain * data
python: psymodel.c:576: calc_energy: Assertion `el >= 0' failed.
Processing: 51%|████████████████████████████████████████████████████████████████████████████████████████▎ | 3349/6522 [01:27<01:23, 38.11it/s]
Traceback (most recent call last):
File "/home/zzh/miniconda3/envs/fish-speech-edit/bin/fap", line 8, in
sys.exit(cli())
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/zzh/code/fish-speech-edit/data/audio-preprocess-main/fish_audio_preprocess/cli/loudness_norm.py", line 100, in loudness_norm
assert i.exception() is None, i.exception()
AssertionError: A process in the process pool was terminated abruptly while the future was running or pending.
请问有办法解决这个问题吗,或者说怎样遇到badcase就跳过而不是终止程序呢
期待您的回复
The text was updated successfully, but these errors were encountered:
作者您好,我正在处理一批四川话数据,原始链接:
https://magichub.com/cn/datasets/sichuan-dialect-scripted-speech-corpus-daily-use-sentence/
我已经将其转换为mp3+lab的形式,然后执行了如下命令并报错如下:
fap loudness-norm processed_data processed_data2 --clean --num-workers 1
2024-10-26 20:10:01.294 | INFO | fish_audio_preprocess.utils.file:make_dirs:95 - Cleaning output directory: processed_data2
2024-10-26 20:10:01.521 | INFO | fish_audio_preprocess.cli.loudness_norm:loudness_norm:74 - Found 6522 files, normalizing loudness
Preparing tasks: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6522/6522 [00:00<00:00, 13284.66it/s]
Processing: 5%|████████▏ | 310/6522 [00:06<02:30, 41.18it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 7%|████████████▏ | 459/6522 [00:10<02:39, 38.03it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 43%|██████████████████████████████████████████████████████████████████████████▏ | 2811/6522 [01:10<01:55, 32.02it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 44%|███████████████████████████████████████████████████████████████████████████ | 2847/6522 [01:11<02:00, 30.58it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 44%|███████████████████████████████████████████████████████████████████████████▋ | 2868/6522 [01:12<02:00, 30.20it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 44%|████████████████████████████████████████████████████████████████████████████▏ | 2888/6522 [01:13<02:07, 28.59it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 46%|███████████████████████████████████████████████████████████████████████████████▋ | 3023/6522 [01:17<01:59, 29.24it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 47%|█████████████████████████████████████████████████████████████████████████████████▍ | 3090/6522 [01:19<01:45, 32.55it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:62: UserWarning: Possible clipped samples in output.
warnings.warn("Possible clipped samples in output.")
Processing: 51%|████████████████████████████████████████████████████████████████████████████████████████▎ | 3349/6522 [01:27<01:12, 43.55it/s]/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:26: RuntimeWarning: divide by zero encountered in scalar divide
gain = np.power(10.0, target/20.0) / current_peak
/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/pyloudnorm/normalize.py:27: RuntimeWarning: invalid value encountered in multiply
output = gain * data
python: psymodel.c:576: calc_energy: Assertion `el >= 0' failed.
Processing: 51%|████████████████████████████████████████████████████████████████████████████████████████▎ | 3349/6522 [01:27<01:23, 38.11it/s]
Traceback (most recent call last):
File "/home/zzh/miniconda3/envs/fish-speech-edit/bin/fap", line 8, in
sys.exit(cli())
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/zzh/miniconda3/envs/fish-speech-edit/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/zzh/code/fish-speech-edit/data/audio-preprocess-main/fish_audio_preprocess/cli/loudness_norm.py", line 100, in loudness_norm
assert i.exception() is None, i.exception()
AssertionError: A process in the process pool was terminated abruptly while the future was running or pending.
请问有办法解决这个问题吗,或者说怎样遇到badcase就跳过而不是终止程序呢
期待您的回复
The text was updated successfully, but these errors were encountered: