-
Notifications
You must be signed in to change notification settings - Fork 10
/
id2class.py
31 lines (30 loc) · 2.43 KB
/
id2class.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
id2class_map = {
"candle": {"0": "BACKGROUND", "1": "Chunk Of Wax Missing", "2": "Damaged Corner of Packaging",
"3": "weird candle wick", "4": "Different Colour Spot", "5": "Extra Wax in Candle",
"6": "Foreign Particals on Candle", "7": "Wax Melded out of the candle", "8": "Other"},
"capsules": {"0": "BACKGROUND", "1": "Bubble", "2": "Discolor", "3": "Scratch", "4": "Leak", "5": "Misshape"},
"fryum": {"0": "BACKGROUND", "1": "Burnt", "2": "Corner or Edge Breakage", "3": "Different Colour Spot",
"4": "Fryum Stuck Together", "5": "Middle Breakage", "6": "Similar Colour Spot", "7": "Small Scratches",
"8": "Other"},
"cashew": {"0": "BACKGROUND", "1": "Burnt", "2": "Corner or Edge Breakage", "3": "Different Colour Spot",
"4": "Middle Breakage", "5": "Small Holes", "6": "Small Scratches", "7": "Stuck Together",
"8": "Same Colour Spot", "9": "Other"},
"chewinggum": {"0": "BACKGROUND", "1": "Chunk of gum missing", "2": "Corner Missing", "3": "Scratches",
"4": "Similar Colour Spot", "5": "Small Cracks", "6": "Other"},
"macaroni1": {"0": "BACKGROUND", "1": "Chip Around Edge And Corner", "2": "Different Colour Spot",
"3": "Middle Breakage", "4": "Similar Colour Spot", "5": "Small Cracks", "6": "Small Scratches",
"7": "Other"},
"macaroni2": {"0": "BACKGROUND", "1": "Breakage down the middle", "2": "Color spot similar to the Object",
"3": "Different Color spot", "4": "Small chip around edge", "5": "Small Cracks",
"6": "Small Scratches", "7": "Other"},
"pcb1": {"0": "BACKGROUND", "1": "Bent", "2": "Melt", "3": "Scratch", "4": "Missing"},
"pcb2": {"0": "BACKGROUND", "1": "Bent", "2": "Melt", "3": "Scratch", "4": "Missing"},
"pcb3": {"0": "BACKGROUND", "1": "Bent", "2": "Melt", "3": "Scratch", "4": "Missing"},
"pcb4": {"0": "BACKGROUND", "1": "Burnt", "2": "Scratch", "3": "Missing", "4": "Damage", "5": "Extra",
"6": "Wrong Place", "7": "Dirt"},
"pipe_fryum": {"0": "BACKGROUND", "1": "Burnt", "2": "Corner And Edge Breakage", "3": "Different Colour Spot",
"4": "Middle Breakage", "5": "Similar Colour Spot", "6": "Small Scratches", "7": "Stuck Together",
"8": "Small Cracks", "9": "Other"}
}