* refactored patch_search.py * fixed H Seam position on v2 * fixed seamless node bar total steps not accounting for batch size * added uicd logic to make_seamless2.py * removed mains from make_seamless.py & make_seamless2.py * other minor cleanups - triggered error in find_patch_vx due to random gen having a value equal or lesser than zero as argument. Was not able to reproduce the error again so far. Conjecture: it may be the case that the min error was negative due to lack of precision when using patch v3, resulting in an empty list of candidates if tolerance is not zero; if this is the case the error should happen only when using version 3.
17 lines
624 B
Python
17 lines
624 B
Python
from .nodes import *
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"ImageQuilting_Bmad": ImageQuilting,
|
|
"LatentQuilting_Bmad": LatentQuilting,
|
|
"ImageQuiltingSeamlessMB_Bmad": ImageMakeSeamlessMB,
|
|
"ImageQuiltingSeamlessSB_Bmad": ImageMakeSeamlessSB,
|
|
#"GuessQuiltingBlockSize": GuessBlockSize
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"ImageQuilting_Bmad": "Image Quilting",
|
|
"LatentQuilting_Bmad": "Latent Quilting",
|
|
"ImageQuiltingSeamlessMB_Bmad": "Image Seamless Quilting MP",
|
|
"ImageQuiltingSeamlessSB_Bmad": "Image Seamless Quilting SP",
|
|
# "GuessQuiltingBlockSize": "Guess BlockSize (Quilting)"
|
|
} |