Spaces:
Running on Zero
Running on Zero
Download src/fashn_vton/preprocessing/__init__.py from hemil124/virtual-tryon: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/spaces/hemil124/virtual-tryon/resolve/main/src/fashn_vton/preprocessing/__init__.py
- Command line
-
hf download hf://spaces/hemil124/virtual-tryon/src/fashn_vton/preprocessing/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/hemil124/virtual-tryon/resolve/main/src/fashn_vton/preprocessing/__init__.py
598 Bytes
| """Preprocessing utilities.""" | |
| from .agnostic import ( | |
| BODY_COVERAGE_TO_FASHN_LABELS, | |
| FASHN_LABELS_TO_IDS, | |
| create_clothing_agnostic_image, | |
| create_garment_image, | |
| ) | |
| from .transforms import AspectPreserveResize, PadToShape, ResizePad | |
| __all__ = [ | |
| # Clothing-agnostic creation | |
| "create_clothing_agnostic_image", | |
| "create_garment_image", | |
| # Constants | |
| "FASHN_LABELS_TO_IDS", | |
| "BODY_COVERAGE_TO_FASHN_LABELS", | |
| # Transforms | |
| "AspectPreserveResize", | |
| "ResizePad", | |
| "PadToShape", | |
| ] | |