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

Lower quality for img2img #24

Open
ulysses500 opened this issue Apr 24, 2023 · 2 comments
Open

Lower quality for img2img #24

ulysses500 opened this issue Apr 24, 2023 · 2 comments

Comments

@ulysses500
Copy link

The images generated with tomesd have lower quality with img2img, using a ratio of 0.6.

Do you know why?

@dbolya
Copy link
Owner

dbolya commented Apr 24, 2023

Hi, do you mean that the content of the image is the same but you get lower quality results, or do you mean that there are noticeable artifacts that ruin the image?

If it's the former case, that's expected. ToMe speeds up generation by doing less work, which comes with some accuracy penalty (with more penalty for higher ratios). If it's the latter, maybe you can set use_rand=False. That option leads to artifacting for some users.

@ulysses500
Copy link
Author

It is the former case because the images look less realistic in general.

Apart from the ratio, can a parameter be fine-tuned to avoid this?

By the way, it would be great if you add some info about the different parameters on the main page.

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

2 participants