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

ERROR: The function received no value for the required argument: img_pattern #130

Open
Amireux52 opened this issue Jan 8, 2022 · 4 comments

Comments

@Amireux52
Copy link

ERROR: The function received no value for the required argument: img_pattern
Usage: predict.py IMG_PATTERN
optional flags: --mask_pattern | --weights_path | --out_dir |
--side_by_side | --video

For detailed information on this command, run:
predict.py --help

@Amireux52
Copy link
Author

ERROR: The function received no value for the required argument: img_pattern
Usage: predict.py IMG_PATTERN
optional flags: --mask_pattern | --weights_path | --out_dir |
--side_by_side | --video

For detailed information on this command, run:
predict.py --help
excuse,Please tell me how to solve it

@KnifeDing
Copy link

ERROR: The function received no value for the required argument: img_pattern Usage: predict.py IMG_PATTERN optional flags: --mask_pattern | --weights_path | --out_dir | --side_by_side | --video

For detailed information on this command, run: predict.py --help

try to write in line-91of predict.py: img_pattern: str='YOUR_IMAGE.jpg'

@Polytechwangchao
Copy link
Contributor

answer
you can do it like my way

@Polytechwangchao
Copy link
Contributor

just give the location of your picture to the main function

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

3 participants