-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
64 lines (56 loc) · 996 Bytes
/
constants.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
56
57
58
59
60
61
62
63
64
PARAMS_FILE = "params_file.txt"
CLASSES = ["abort", "command", "correct", "incorrect", "prompt", "reward", "visual"]
img_h = 480
img_w = 640
img_size = 299
c_size = 64
aud_h = 128
aud_w = 8
img_dtype = {
"name": "img",
"img_h": img_h,
"img_w": img_w,
"num_c": 3,
"cmp_h": img_size,
"cmp_w": img_size
}
img_resize_dtype = {
"name": "img_resize",
"img_h": 64,
"img_w": 64,
"num_c": 3,
"cmp_h": 64,
"cmp_w": 64
}
grs_dtype = {
"name": "grs",
"img_h": img_h,
"img_w": img_w,
"num_c": 1,
"cmp_h": img_size,
"cmp_w": img_size
}
grs_resize_dtype = {
"name": "grs_resize",
"img_h": 64,
"img_w": 64,
"num_c": 1,
"cmp_h": 64,
"cmp_w": 64
}
pnt_dtype = {
"name": "pnt",
"img_h": img_h,
"img_w": img_w,
"num_c": 1,
"cmp_h": c_size,
"cmp_w": c_size
}
aud_dtype = {
"name": "aud",
"img_h": img_h,
"img_w": img_w,
"num_c": 1,
"cmp_h": aud_h,
"cmp_w": aud_w
}