INNER CODE UNIT · Python
main
fashn-AI/fashn-vton-1.5 · scripts/debug_masks.py:217
def main():
parser = argparse.ArgumentParser(
description="Debug mask creation pipeline - visualizes all intermediate masks",
formatter_class=argparse.RawDescriptionHelpFormatter,
epilog="""
Example:
python scripts/debug_masks.py
python scripts/debug_masks.py --person-image my_person.jpg --category bottoms
""",
)
parser.add_argument(
"--person-image",
type=str,
default=None,
help="Path to person image (default: examples/data/model.webp)",
)
parser.add_argument(
"--garment-image",