-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.py
55 lines (55 loc) · 1.35 KB
/
models.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
model_attributes = {
'bert': {
'feature_type': 'text'
},
'inception_v3': {
'feature_type': 'image',
'target_resolution': (299, 299),
'flatten': False
},
'wideresnet50': {
'feature_type': 'image',
'target_resolution': (224, 224),
'flatten': False
},
'resnet50': {
'feature_type': 'image',
'target_resolution': (224, 224),
'flatten': False
},
'resnet34': {
'feature_type': 'image',
'target_resolution': (224, 224),
'flatten': False
},
'resnet18': {
'feature_type': 'image',
'target_resolution': (224, 224),
'flatten': False
},
'raw_logistic_regression': {
'feature_type': 'image',
'target_resolution': None,
'flatten': True,
},
'resnet50vw': {
'feature_type': 'image',
'target_resolution': (224, 224),
'flatten': False
},
'resnet18vw': {
'feature_type': 'image',
'target_resolution': (224, 224),
'flatten': False
},
'resnet10vw': {
'feature_type': 'image',
'target_resolution': (224, 224),
'flatten': False
},
'CNN': {
'feature_type': 'image',
'target_resolution': (224, 224),
'flatten': False
},
}