Comments (8)
I'll check.
from rvc_cli.
Ready, fixed.
from rvc_cli.
Awesome, working now. Thanks!
from rvc_cli.
Okay, I have no idea what I am doing here or why, but I managed to get it to work by replacing parts of the run_batch_infer_script function in "main.py".
Replace lines 112 to 128 with a copy of the single infer command.
From:
command = [
"python",
infer_script_path,
f0up_key,
filter_radius,
index_rate,
rms_mix_rate,
protect,
hop_length,
f0method,
input_path,
output_path,
pth_path,
index_path,
split_audio,
f0autotune,
]
To:
command = [
"python",
*map(
str,
[
infer_script_path,
f0up_key,
filter_radius,
index_rate,
hop_length,
f0method,
input_path,
output_path,
pth_path,
index_path,
split_audio,
f0autotune,
rms_mix_rate,
protect,
],
),
]
from rvc_cli.
I think you have like an outdated version because in the latest is working and that code is already added
y added
from rvc_cli.
Pulled the latest changes today, code has been changed but it seems like the bug is still present now.
Detected 4 audio files for inference.
Inferring /Users/liam/Music/RVC/love_me_down/ValYoung/Ladada.wav.wav...
No supported Nvidia GPU found
Traceback (most recent call last):
File "/Users/liam/Downloads/RVC_CLI/rvc/infer/infer.py", line 246, in <module>
rms_mix_rate = float(sys.argv[12])
ValueError: could not convert string to float: 'True'
from rvc_cli.
The "rms_mix_rate" parameter must be a numerical value ranging from 0.0 to 1.0. If you're unsure of what value to set, you can omit the argument, and the default value will be used.
from rvc_cli.
Checked that already, it doesnt matter whether it is ommitted or correctly used, it always ends with the ValueError string to float "true". If i input a non-working value like "2" it outputs the typical help info ofc. Maybe a different parameter from another argument gets passed as sys.argv[12]?!
Edit: Seems to be the case. If I reduce my cmd to the most barebones command like this:
python main.py batch_infer --f0up_key "0" --filter_radius "3" --index_rate "0.8" --f0method "rmvpe" --input_folder "/Users/liam/Music/RVC/love_me_down/ValYoung" --output_folder "/Users/liam/Downloads/test" --pth_path "/Applications/RVC/assets/weights/40k_2pac_hoarse_e500.pth" --index_path "/Applications/RVC/logs/2pac/added_IVF1465_Flat_nprobe_1_48k_2pac_hoarse_new_v2.index"
I get a string to float "false":
Traceback (most recent call last):
File "/Users/liam/Downloads/RVC_CLI/rvc/infer/infer.py", line 246, in <module>
rms_mix_rate = float(sys.argv[12])
ValueError: could not convert string to float: 'False'
If i use more parameters (especially split_audio = true here):
python main.py batch_infer --f0up_key "0" --filter_radius "3" --index_rate "0.8" --hop_length "64" --split_audio "True" --f0autotune "False" --f0method "rmvpe" --input_folder "/Users/liam/Music/RVC/love_me_down/ValYoung" --output_folder "/Users/liam/Downloads/test" --pth_path "/Applications/RVC/assets/weights/40k_2pac_hoarse_e500.pth" --index_path "/Applications/RVC/logs/2pac/added_IVF1465_Flat_nprobe_1_48k_2pac_hoarse_new_v2.index" --rms_mix_rate "1.0"
I get a string to float "true":
Traceback (most recent call last):
File "/Users/liam/Downloads/RVC_CLI/rvc/infer/infer.py", line 246, in <module>
rms_mix_rate = float(sys.argv[12])
ValueError: could not convert string to float: 'True'
from rvc_cli.
Related Issues (20)
- IP and PORT change for API HOT 3
- [BUG] API infer not work. HOT 3
- [BUG] API won't start HOT 2
- [BUG] Documentation should say env/python.exe for Windows HOT 3
- Stuff to improve GUI wise or ya get what i mean :3 HOT 2
- Training problem HOT 1
- [BUG] Training Threshold set to incorrect value when no value is set in command HOT 2
- [BUG] '<' not supported between instances of 'str' and 'float' HOT 2
- [BUG] '<' not supported between instances of 'str' and 'float' / No output file HOT 10
- Error: 'config' when trying to infer from a model that I trained HOT 1
- [BUG?] It is not possible to use more than one GPU for training on Kaggle HOT 7
- Issue with Model Output Generating Noise HOT 5
- [BUG] RVC doesn't produce a usable result with default settings HOT 3
- Docker HOT 1
- [BUG] HOT 1
- [BUG]
- file and folder name are same, "rvc". HOT 1
- Infer in kaggle got error message HOT 1
- Script Indicates Successful Execution, but No Audio Files Created
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rvc_cli.