Skip to content

分离用fox的那个模型出错 #2581

Open
@wfq1971

Description

@wfq1971

(most recent call last): File "/workspace/rvc/infer/modules/uvr5/modules.py", line 72, in uvr pre_fun.path_audio( File "/workspace/rvc/infer/modules/uvr5/mdxnet.py", line 240, in path_audio self.pred.prediction(input, vocal_root, others_root, format) File "/workspace/rvc/infer/modules/uvr5/mdxnet.py", line 209, in prediction save_audio( File "/workspace/rvc/infer/lib/audio.py", line 47, in save_audio buf = float_np_array_to_wav_buf(audio, sr, f32) File "/workspace/rvc/infer/lib/audio.py", line 35, in float_np_array_to_wav_buf wavfile.write(buf, sr, wav.astype(np.float32)) File "/root/miniconda3/lib/python3.10/site-packages/scipy/io/wavfile.py", line 824, in write fmt_chunk_data = struct.pack('<HHIIHH', format_tag, channels, fs, TypeError: only integer scalar arrays can be converted to a scalar index

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions