DeblurGANv2 icon indicating copy to clipboard operation
DeblurGANv2 copied to clipboard

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

Open Amireux52 opened this issue 3 years ago • 4 comments

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 avatar Jan 08 '22 08:01 Amireux52

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

Amireux52 avatar Jan 08 '22 08:01 Amireux52

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'

KnifeDing avatar Apr 06 '22 02:04 KnifeDing

answer you can do it like my way

Polytechwangchao avatar Jun 21 '22 07:06 Polytechwangchao

just give the location of your picture to the main function

Polytechwangchao avatar Jun 21 '22 07:06 Polytechwangchao