File size: 598 Bytes
756b108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""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",
]