Spaces:
Sleeping
Sleeping
File size: 883 Bytes
b2ffc9b |
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
from enum import Enum
class Catalyst(Enum):
Pt = 'Pt'
Fe = 'Fe'
def __str__(self):
return str(self.value)
class Method(Enum):
DL = 'DL'
CV = 'CV'
TEM = 'TEMImageNet'
def __str__(self):
return str(self.value)
class Split:
TRAIN = 'train'
VAL = 'val'
TEST = 'test'
class Columns:
FILENAME = 'Filename'
LABEL = 'Label'
SPLIT = 'Split'
class CropsColumns:
FILENAME = 'Filename'
ORIGINAL = 'Original'
X = 'X'
Y = 'Y'
LABEL = 'Label'
SPLIT = 'Split'
class BoxColumns:
FILENAME = 'Filename'
X1 = 'X1'
X2 = 'X2'
Y1 = 'Y1'
Y2 = 'Y2'
LABEL = 'Label'
SPLIT = 'Split'
class ProbsColumns:
FILENAME = 'Filename'
ORIGINAL = 'Original'
LABEL = 'Label'
SPLIT = 'Split'
class ModelArgs(str, Enum):
BASICCNN = 'basic'
RESNET18 = 'resnet18'
|