Skip to content

Conversation

@mbylstra
Copy link

@mbylstra mbylstra commented Mar 16, 2025

This is just a placeholder for now. I still need to do more testing. It adds two extra outputs to the "DetailerDebug (SEGS)" and "DetailerDebug (SEGS/pipe)" nodes:

  • upscaled
  • upscaled_refined

These are similar to cropped and cropped_refined but they show the full upscaled image before and after it is refined at full resolution, and before it is downscaled to original size.

Example in use locally:

image

In the example I intentionally used an unrealistically high denoise value, to demonstrate that that the face is being generated at high resolution under the hood (this is not very clear from the documentation, and there was no way to see what was going on under the hood at high resolution)

- a third tuple member, `refined_upscaled_image` is returned in
addition to `refined_image`
- some variables are given longer and more specific names to make the
code easier to follow
- as this member is added as a last member of the tuple, this is not
a breaking change
- this is an additional output for DetailerForEachTest and DetailerForEachTestPipe
- the motivation is to be able to see the enhanced/refined image in its
  full resolution
…rEach

- introduced `unenhanced_upscaled_image` as an additional output from `enhance_detail` to provide access to the unrefined upscaled image.
- updated `DetailerForEach` and `DetailerForEachTest` to accommodate the new output, ensuring consistency in image processing.
- modified variable names for clarity and improved code readability.
@mbylstra mbylstra changed the title Debug refined upscaled image Add upscaled and upscaled_refined outputs to DetailerDebug nodes for more debugging capability Mar 16, 2025
@mbylstra mbylstra changed the title Add upscaled and upscaled_refined outputs to DetailerDebug nodes for more debugging capability feat: Add upscaled and upscaled_refined outputs to DetailerDebug nodes for more debugging capability Mar 16, 2025
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.

1 participant