mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-11-05 00:27:30 +00:00
[GH-ISSUE #2581] 分离用fox的那个模型出错 #1838
Labels
No labels
AMD/Intel
bug
bug
bug
colab
dependencies
documentation
duplicate
enhancement
following up
good first issue
help wanted
invalid
question
stale
stale
stale
todo list
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1838
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wfq1971 on GitHub (May 23, 2025).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2581
(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
@wfq1971 commented on GitHub (May 23, 2025):
audio.txt我修改了audio.py,请更新一下
@wfq1971 commented on GitHub (May 23, 2025):
(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/vr.py", line 109, in path_audio
pred, X_mag, X_phase = inference(
File "/workspace/rvc/infer/lib/uvr5_pack/utils.py", line 70, in inference
pred = _execute(
File "/workspace/rvc/infer/lib/uvr5_pack/utils.py", line 41, in _execute
pred = model.predict(X_mag_window, aggressiveness)
File "/root/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1931, in getattr
raise AttributeError(
AttributeError: 'CascadedNet' object has no attribute 'predict'
@wfq1971 commented on GitHub (May 23, 2025):
另外一个vr模型也出错了