Spaces:
Runtime error
Runtime error
File size: 978 Bytes
fadb92b | 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | semantics_dict = {
"living_room": 1,
"kitchen": 2,
"bedroom": 3,
"bathroom": 4,
"restroom": 5,
"balcony": 6,
"closet": 7,
"corridor": 8,
"washing_room": 9,
"PS": 10,
"outside": 11,
"wall": 12,
"no_type": 0,
}
semantics_dict_rev = {
0: "no_type",
1: "living_room",
2: "kitchen",
3: "bedroom",
4: "bathroom",
5: "restroom",
6: "balcony",
7: "closet",
8: "corridor",
9: "washing_room",
10: "PS",
11: "outside",
12: "wall",
}
semantics_dict_color = {
"living_room": (0, 0, 220),
"kitchen": (0, 220, 220),
"bedroom": (0, 220, 0),
"bathroom": (220, 220, 0),
"restroom": (220, 0, 0),
"balcony": (220, 0, 220),
"closet": (110, 0, 110),
"corridor": (110, 0, 0),
"washing_room": (0, 0, 110),
"PS": (0, 110, 110),
"outside": (0, 0, 0),
"wall": (110, 110, 110),
"no_type": (20, 20, 20),
}
|