Anjok07 / ultimatevocalremovergui

GUI for a Vocal Remover that uses Deep Neural Networks.
MIT License
18.28k stars 1.37k forks source link

ParameterError: Audio buffer is not finite everywhere #393

Open EricLiuShiqi opened 1 year ago

EricLiuShiqi commented 1 year ago

Last Error Received:

Process: Ensemble Mode

If this error persists, please contact the developers with the error details.

Raw Error Details:

ParameterError: "Audio buffer is not finite everywhere" Traceback Error: " File "UVR.py", line 4592, in process_start File "separate.py", line 631, in seperate File "separate.py", line 829, in spec_to_wav File "lib_v5/spec_utils.py", line 352, in cmb_spectrogram_to_wave File "librosa/util/decorators.py", line 104, in inner_f File "librosa/core/audio.py", line 606, in resample File "librosa/util/decorators.py", line 88, in inner_f File "librosa/util/utils.py", line 294, in valid_audio "

Error Time Stamp [2023-01-25 02:16:33]

Full Application Settings:

vr_model: Choose Model aggression_setting: 10 window_size: 512 batch_size: 4 crop_size: 256 is_tta: False is_output_image: False is_post_process: False is_high_end_process: False post_process_threshold: 0.2 vr_voc_inst_secondary_model: No Model Selected vr_other_secondary_model: No Model Selected vr_bass_secondary_model: No Model Selected vr_drums_secondary_model: No Model Selected vr_is_secondary_model_activate: False vr_voc_inst_secondary_model_scale: 0.9 vr_other_secondary_model_scale: 0.7 vr_bass_secondary_model_scale: 0.5 vr_drums_secondary_model_scale: 0.5 demucs_model: v4 | htdemucs segment: Default overlap: 0.25 shifts: 2 chunks_demucs: Auto margin_demucs: 44100 is_chunk_demucs: False is_primary_stem_only_Demucs: False is_secondary_stem_only_Demucs: False is_split_mode: True is_demucs_combine_stems: True demucs_voc_inst_secondary_model: No Model Selected demucs_other_secondary_model: No Model Selected demucs_bass_secondary_model: No Model Selected demucs_drums_secondary_model: No Model Selected demucs_is_secondary_model_activate: False demucs_voc_inst_secondary_model_scale: 0.9 demucs_other_secondary_model_scale: 0.7 demucs_bass_secondary_model_scale: 0.5 demucs_drums_secondary_model_scale: 0.5 demucs_pre_proc_model: No Model Selected is_demucs_pre_proc_model_activate: False is_demucs_pre_proc_model_inst_mix: False mdx_net_model: Choose Model chunks: Auto margin: 44100 compensate: Auto is_denoise: False is_invert_spec: False mdx_voc_inst_secondary_model: No Model Selected mdx_other_secondary_model: No Model Selected mdx_bass_secondary_model: No Model Selected mdx_drums_secondary_model: No Model Selected mdx_is_secondary_model_activate: False mdx_voc_inst_secondary_model_scale: 0.9 mdx_other_secondary_model_scale: 0.7 mdx_bass_secondary_model_scale: 0.5 mdx_drums_secondary_model_scale: 0.5 is_save_all_outputs_ensemble: True is_append_ensemble_name: False chosen_audio_tool: Manual Ensemble choose_algorithm: Min Spec time_stretch_rate: 2.0 pitch_rate: 2.0 is_gpu_conversion: True is_primary_stem_only: False is_secondary_stem_only: True is_testing_audio: False is_add_model_name: False is_accept_any_input: False is_task_complete: False is_normalization: False is_create_model_folder: False mp3_bit_set: 320k save_format: MP3 wav_type_set: PCM_16 help_hints_var: False model_sample_mode: False model_sample_mode_duration: 30 demucs_stems: All Stems

Anjok07 commented 1 year ago

What was the duration of the wav file? There is a known (but rare) bug with one of the Librosa libraries in the macOS arm64 version of the application and how it handles wavs that are very short or really long.

EricLiuShiqi commented 1 year ago

What was the duration of the wav file? There is a known (but rare) bug with one of the Librosa libraries in the macOS arm64 version of the application and how it handles wavs that are very short or really long.

The duration is about 150s, which I think is not too short or really long. The problem was generated when I use Ensemble mode to detach vocal/instrumental. However, it ran successfully when I directly use Demucs. The only special feature of this audio, I believe, is that it sings without lyrics (like chanting?).

aufr33 commented 1 year ago

Please attach a screenshot or video. I will try to reproduce the process.