Skip to content
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

Inference #2246

Open
lesecs opened this issue Dec 6, 2021 · 7 comments
Open

Inference #2246

lesecs opened this issue Dec 6, 2021 · 7 comments

Comments

@lesecs
Copy link

lesecs commented Dec 6, 2021

I have this error in uvr v5
inference.py: error: argument --input/-i: expected one argument
Dont know how to fix it.

ty

@brmarkus
Copy link

brmarkus commented Dec 6, 2021

Which command-line have you called, of which application/example?

@lesecs
Copy link
Author

lesecs commented Dec 6, 2021

Running MGM-v5-2Band-32000-BETA1
usage: inference.py [-h] [--gpu GPU] [--pretrained_model PRETRAINED_MODEL]
--input INPUT [--nn_architecture NN_ARCHITECTURE]
[--model_params MODEL_PARAMS] [--window_size WINDOW_SIZE]
[--output_image] [--deepextraction] [--postprocess]
[--tta] [--high_end_process {none,bypass,correlation}]
[--aggressiveness AGGRESSIVENESS]
inference.py: error: argument --input/-i: expected one argument

@brmarkus
Copy link

brmarkus commented Dec 6, 2021

Can you show the full command-line, paths, parameters, please?
Are you calling "python3 inference.py"... without parameters...?

@lesecs
Copy link
Author

lesecs commented Dec 6, 2021

Run with TTA? [Y/N]: y

      Choose Your Model

=======================================

a. HP2-4BAND-3090_4band_1
b. HP2-4BAND-3090_4band_2
c. HP_4BAND_3090
d. Vocal_HP_4BAND_3090
e. Vocal_HP_4BAND_3090_AGG
f. Ensemble All HP Instrumental Models (5 Models) - Final Outputs Save to Ensembled Folder!
g. Ensemble HP2 Models Only (2 Models) - Final Outputs Save to Ensembled Folder!
Type the letter associated with the option you choose and hit 'Enter': a
Running HP2-4BAND-3090_4band_1
usage: inference.py [-h] [--gpu GPU] [--pretrained_model PRETRAINED_MODEL]
--input INPUT [--nn_architecture NN_ARCHITECTURE]
[--model_params MODEL_PARAMS] [--window_size WINDOW_SIZE]
[--output_image] [--deepextraction] [--postprocess]
[--tta] [--high_end_process {none,bypass,correlation}]
[--aggressiveness AGGRESSIVENESS]
inference.py: error: argument --input/-i: expected one argument

@lesecs
Copy link
Author

lesecs commented Dec 6, 2021

can you tell me where i can find and download the last uvr v5 beta. May be i dont have the last one.
ty

@lesecs
Copy link
Author

lesecs commented Dec 6, 2021

I use python 3.7.9 amd64

@lesecs
Copy link
Author

lesecs commented Dec 6, 2021

Run with TTA? [Y/N]: y

      Choose Your Model

=======================================

a. HP2-4BAND-3090_4band_1
b. HP2-4BAND-3090_4band_2
c. HP_4BAND_3090
d. Vocal_HP_4BAND_3090
e. Vocal_HP_4BAND_3090_AGG
f. Ensemble All HP Instrumental Models (5 Models) - Final Outputs Save to Ensembled Folder!
g. Ensemble HP2 Models Only (2 Models) - Final Outputs Save to Ensembled Folder!
Type the letter associated with the option you choose and hit 'Enter': a
Running HP2-4BAND-3090_4band_1
loading model... Traceback (most recent call last):
File "inference.py", line 273, in
main()
File "inference.py", line 133, in main
model = nets.CascadedASPPNet(mp.param['bins'] * 2)
UnboundLocalError: local variable 'nets' referenced before assignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants