Skip to content

Conversation

Pau-Lozano
Copy link

@Pau-Lozano Pau-Lozano commented Sep 25, 2024

Hi @philz1337x

Just wanted to contribute by adding a couple new models to play with your fantastic upscaler.
These are EpicPhotoGasm and a film grain lora

In my experiments, playing with these models can improve the realism of some images.
See here:

Same parameters, same prompt, same seed.
Original Image:
image

Juggernaut (current default):
image

EpicPhotoGasm (addition):
image

IMO, not only the face but also the shadows are way more realistic with EpicPhotoGasm.

Last, to follow Replicate's API convention, I set the default seed to random.

Let me know how this looks to you :)

@Pau-Lozano
Copy link
Author

We just added a new lora to enhance sharpness and fixed an issue were the downscaling flag would actually upscale images that are smaller than the downscaling size, usually at the cost of blurry results.
Now, only images that are bigger than the downscaling size will be downscaled.

Example below:
Original image, it is 480x640, the scale is set to 2.
image

Before fixing the bug, if the downscaling size was, say, 1024, the image would be resized to 768x1024 (very pixelated) and then upscaled from there. This means that before upscaling the image is extremely blurry and so the upscaler has a hard time. As you can see the output is still pretty blurry. The final resolution is 1536x2048, not a x2 at all.
Upscaled with old method:
image

After the fix, the image is not resized at all because it's already smaller than 1024 on its biggest side.
The result, although having a significantly lower res of just 960x1280 (an actual x2), is way better:
image

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.

3 participants