The patch node hooked set_model_unet_function_wrapper to inject sigma adjustments, but that wrapper sits below apply_model's input scaling and timestep transformation. The second forward pass therefore ran with input prepped for the original sigma while the outer layer's calculate_denoised also used the original sigma, so the adjustment produced near-zero visible effect regardless of intensity. Keep only the SAMPLER variant (used via SamplerCustom), which operates at the correct layer.
20 lines
752 B
Python
20 lines
752 B
Python
from .selective_sigma_detailer import (
|
|
SelectiveSigmaDetailerDebugNode,
|
|
SelectiveSigmaDetailerDeltaV2Node,
|
|
SelectiveSigmaDetailerMaskPreviewNode,
|
|
)
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"SelectiveSigmaDetailerDeltaV2Node": SelectiveSigmaDetailerDeltaV2Node,
|
|
"SelectiveSigmaDetailerDebugNode": SelectiveSigmaDetailerDebugNode,
|
|
"SelectiveSigmaDetailerMaskPreviewNode": SelectiveSigmaDetailerMaskPreviewNode,
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"SelectiveSigmaDetailerDeltaV2Node": "Selective Sigma Detailer",
|
|
"SelectiveSigmaDetailerDebugNode": "Selective Sigma Detailer (Debug)",
|
|
"SelectiveSigmaDetailerMaskPreviewNode": "Selective Sigma Detailer (Debug Preview)",
|
|
}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|