stable-diffusion
stable-diffusion copied to clipboard
optimized inpainting without gradio?
The gradio interface for optimized img2img is great. I can make 576x1024 images on a gtx1080 8GB, which is impossible with the original script. However, the gradio interface for inpainting is only viable for relatively simple masking.
Would it be possible to make an optimized script for inpainting that runs from command line only, similar to optimized_txt2img.py and optimized_img2img.py? The sample.png and sample_mask.png would load from the input directory as it does in the original SD script.
Something like:
python optimizedSD/optimized_inpaint.py --indir <input_dir> --outdir <output_dir> --steps <steps> --prompt <prompt>
The script here works well for 512x512 images. But for other resolutions I get an error.
Hi, thank you for the suggestion, will try to add the script today. Cheers!