stable_diffusion.openvino icon indicating copy to clipboard operation
stable_diffusion.openvino copied to clipboard

Feature request: add all parameters to default filename or add --info parameter to have it

Open binarydepth opened this issue 2 years ago • 1 comments

I guessed with my limited knowledge: parser.add_argument("--output", type=str, default=str(parser.parse_args()), help="output image name")

But it gives error:

line 45, in main
    cv2.imwrite(args.output, image)
cv2.error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp:730: error: (-2:Unspecified error) could not find a writer for the specified extension in function 'cv::imwrite_'

binarydepth avatar Dec 18 '22 14:12 binarydepth