Spaces:
Sleeping
Sleeping
document magic numbers
Browse files- lib/cloth_seg.py +1 -0
lib/cloth_seg.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from enum import IntEnum
|
2 |
|
3 |
|
|
|
4 |
class ClothSeg(IntEnum):
|
5 |
BACKGROUND = 0
|
6 |
HAT = 1
|
|
|
1 |
from enum import IntEnum
|
2 |
|
3 |
|
4 |
+
# Magic numbers, as listed in https://huggingface.co/mattmdjaga/segformer_b2_clothes
|
5 |
class ClothSeg(IntEnum):
|
6 |
BACKGROUND = 0
|
7 |
HAT = 1
|