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

Support png image and resize image with 64 pixels in img2img mode #212

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Support png image and resize image with 64 pixels in img2img mode #212

merged 2 commits into from
Apr 2, 2024

Conversation

delldu
Copy link
Contributor

@delldu delldu commented Apr 1, 2024

1) Before modification

./build/bin/sd --mode img2img --model models/sdxl_turbo_q8_0.gguf -p "red shoes" -i images/shose.png --strength 0.75 --cfg-scale 1.8 --steps 10 -o output_img2img_sdxl.png

output error message

input image must be a 3 channels RGB image, but got 4 channels

2) After modification

./build/bin/sd --mode img2img --model models/sdxl_turbo_q8_0.gguf -p "red shoes" -i images/shose.png --strength 0.75 --cfg-scale 1.8 --steps 10 -o output_img2img_sdxl.png

Create output_img2img_sdxl OK.

@leejet
Copy link
Owner

leejet commented Apr 2, 2024

Thank you for your contribution.

@leejet leejet merged commit ccae95a into leejet:master Apr 2, 2024
3 of 9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants