-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple CLI Implementation #41
base: main
Are you sure you want to change the base?
Conversation
God bless your work. |
Hi, But i have this error : ImportError: cannot import name 'get_folder_name' from 'my_utils' If i infer true Menu, with original INFER.WEB.PY work perfect! But if i put your INFER.WEB, i see this error! what i making wrong? thanks |
Are you running the command in the root folder where |
Yes. I make some changes, and now im getting this: |
I donwloaded your fork, and dosent work! this is my files im using to receive erro above |
My fork isn't updated to current main branch now, I see there are many difference between the files you provide and my fork, notice that you need to run my fork in |
@stu00608 can you add an argument for |
As the logs folder is hardcoded in |
@stu00608 can you add simple guide or screen for your cli command? |
Sure!
I hope this help~ |
Thank you so much for the info!
Il giorno mar 24 ott 2023 alle ore 03:50 Shen Yi Chen (Allen) <
***@***.***> ha scritto:
… Sure!
- Preprocessing
python infer-web.py --pycmd python --simple_cli pre-process --exp_name
Your-Exp-1 --trainset_dir /path/to/your/dataset --sample_rate 40k
- Feature Extraction
python infer-web.py --pycmd python --simple_cli extract-feature
--exp_name Your-Exp-1 --gpu 0 --n_workers 8 --f0_method crepe --sample_rate
40k
- Training
python infer-web.py --pycmd python --simple_cli train --exp_name
Your-Exp-1 --gpu 0 --epochs 1000 --save_epoch_iter 10 --batch_size 12
--save_small_model True
- Train Feature
python infer-web.py --pycmd python --simple_cli train-feature
--exp_name Your-Exp-1
I hope this help~
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE43GZXNJ5P3BFRLO55RNT3YA4NF7AVCNFSM6AAAAAA2P5QYYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWGM2DQOBSG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
i'd personally make a separate script for CLI usage. also, probably should've mentioned this prior: this repository seems to be stagnant and probably won't be updated in the conceivable future. |
Hi, During handling of the above exception, another exception occurred: Traceback (most recent call last): Mangio-RVC-Fork Infer-CLI: Inference failed. Here's the traceback: During handling of the above exception, another exception occurred: Traceback (most recent call last): I am running this on Windows 10 |
First, appreciate the great work of this fork by @Mangio621 :D
The CLI interface is great! But somehow it's a little bit hard to invoke those functions from the other application. So I made a fork which added a new
--simple_cli
mode. It's basically the same way as the original cli do, but this allows you do a single step by one command.The main idea is to add more arguments to parse in
Config()
, accept params for each steps. But it's awkward that now the usage will show a bunch of arguments, which makes it become confusing maybe.For example, I can do
pre-process
step bypython infer-web.py --pycmd python --simple_cli pre-process --exp_name Example-Exp --trainset_dir /path/to/dataset/ --sample_rate 40k
.To summarize, I did:
get_vc()
argument missing incli_infer()
Still working on the help messasge for simple cli mode. If user added a
--cmd_help
argument, it will only show the help message and then quit.I would like to ask for some suggestions if the approach can be done in a better way :) Thank you!