Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
the following arguments are required: -i/--input, -o/--output


always showing error like this

What I have tried:

sage: predict.py [-h] -i INPUT -o OUTPUT [-s SIZE] [-d DISPLAY]
predict.py: error: the following arguments are required: -i/--input, -o/--output
Posted
Comments
Garth J Lancaster 22-Jun-20 3:46am    
whatever predict.py is / whoever wrote it, is saying that you're not supplying the required arguments on the command-line, as in

python predict.py -i <some input> -o <some output>

you could also try

python predict.py -h

for help it seems
Member 14869671 22-Jun-20 7:37am    
sir, now its showing like this
!python "/content/drive/My Drive/natural-disaster-detection/predict.py" -h



2020-06-22 11:36:24.066798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
usage: predict.py [-h] --i I --o O [-s SIZE] [-d DISPLAY]

optional arguments:
-h, --help show this help message and exit
--i I, --input I
--o O, --output O
-s SIZE, --size SIZE size of queue for averaging
-d DISPLAY, --display DISPLAY
whether or not output frame should be displayed to
screen

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900