Enable data auto process for new data

This commit is contained in:
pangkaicheng
2025-12-10 17:27:56 +08:00
parent 0b1d948f77
commit 0e9546aa1a
12 changed files with 936 additions and 171 deletions

View File

@@ -1,15 +1,4 @@
# 这个文件用来储存所有的category和occasion这是标准文件。
CATEGORY = [
'shoes', 'bags', 'dresses', 'tops', 'pants', 'skirts', 'outerwear', 'swimwear', 'suits',
'watches', 'sunglasses', 'belts', 'hats', 'jewelry', 'neckties', 'scarves & shawls'
]
CLOTHING_CATEGORY = [
'shoes', 'bags', 'dresses', 'tops', 'pants', 'skirts', 'outerwear', 'swimwear'
]
ACCESSORY_CATEGORY = [
'watches', 'sunglasses', 'belts', 'hats', 'jewelry', 'neckties', 'scarves & shawls'
]
OCCASION = [
"Casual", "Formal", "Activewear", "Resort", "Evening", "Outdoor",
"Business / workwear", "Cocktail / Semi-Formal", "Black Tie / White Tie",
@@ -17,3 +6,54 @@ OCCASION = [
"Travel / Transit", "Athleisure", "Beach / Swim", "Ski / Snow / Mountain",
"Garden Party / Daytime Event"
]
CATEGORY = {
'clothing': [
'coats',
'jackets',
'blazers',
'puffer',
'cardigan',
'sweater',
'shirts',
't-shirts',
'pullover',
'polos',
'bodysuits',
'dresses',
'skirts',
'jeans',
'shorts',
'leggings',
'jumpsuits',
'swimwear',
],
'shoes': [
'sneakers',
'formal shoes',
'heels',
'flats',
'sandals',
'slides',
'boots',
],
'bags': [
'bags'
],
'accessories': [
'necklaces',
'bracelets',
'jewellery',
'eyewear',
'scarves',
'hats',
'gloves',
'belts',
'socks',
'watches'
'ties',
]
}
ALL_CATEGORY = sum(CATEGORY.values(), [])
IGNORE_CATEGORY = ['socks']