szhublox / ambw_comfyui

Auto-MBW for ComfyUI loosely based on sdweb-auto-MBW
16 stars 2 forks source link

Auto-MBW for ComfyUI loosely based on sdweb-auto-MBW

Purpose

This node "advanced > auto merge block weighted" takes two models, merges individual blocks together at various ratios, and automatically rates each merge, keeping the ratio with the highest score. Whether this is a good idea or not is anyone's guess. In practice this makes models that make images the classifier says are good. You would probably disagree with the classifiers' decisions often.

Settings

Search Depth

To calculate ratios to test, the node branches out from powers of 0.5

There are 25 blocks to examine. If you use a depth of 4 and create 2 samples each, 25 * 9 * 2 = 450 images will be generated.

Classifier

The classifier models have been taken from the sdweb-auto-MBW repo.

Notes

Bugs