comfyui_ab_samplercustom

comfyui_ab_samplercustom
★ 11

实验性采样器ROI处理潜变量操作
实验性采样器:交替对A/B输入采样(从A开始),B步在2×2网格运行,3/4格为原始潜变量拷贝;可选mask每步将ROI外区域恢复为原始潜变量,便于局部交替采样。
💡 对图像局部ROI进行交替A/B采样以细化生成细节
🍴 4 Forks💻 Python🔄 2024-09-17
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/86a6deb1b5f6
📄 README

comfyui_ab_sampler

Experimental sampler node.

Sampling alternates between A and B inputs until only one remains, starting with A.

B steps run over a 2×2 grid, where 3/4’s of the grid are copies of the original input latent.

When the optional mask is used, the region outside the defined roi is copied from the

original latent at the end of every step.

Disclaimer: its applications should be rather niche and there are likely better alternative approaches.