Skip to content

feat: CN preprocessor param standardization + sd21 registry parity#22

Open
forkni wants to merge 3 commits into
SDTD_031_devfrom
feat/cn-params-sd21-parity
Open

feat: CN preprocessor param standardization + sd21 registry parity#22
forkni wants to merge 3 commits into
SDTD_031_devfrom
feat/cn-params-sd21-parity

Conversation

@forkni

@forkni forkni commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Changes

  • 1ac32ea feat: add sd21 ControlNet registry parity to realtime-img2img demo
  • 93aaea9 fix: recalibrate scribble_threshold range [0,0.05] default 0.01 to match post-NMS value scale
  • cbe5036 feat: standardize CN preprocessor params by category (edge/depth/bodypose)

Branch

feat/cn-params-sd21-parity -> SDTD_031_dev

forkni added 3 commits June 12, 2026 22:55
…pose)

Introduces category_params.py — a shared module with canonical metadata
fragments and GPU/NumPy helpers for the four production xinsir SDXL CNs:

  canny           (edge)     + smoothness pre-blur
  scribble_trt    (edge)     + smoothness pre-blur (before NMS)
  depth_trt       (depth)    + gamma / black_level / white_level / invert grade
  pose_trt        (bodypose) + keypoint_threshold / joint_thickness / keypoint_radius

All defaults are no-ops — existing presets render identically until a
slider is moved.  segmentation and passthrough contracts are also defined
in category_params for future alignment.

PassthroughPreprocessor description updated; tile ControlNet references
removed (tile removed from the production set by the user separately).
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