-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.py
executable file
·39 lines (34 loc) · 1.23 KB
/
config.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
"""General training parameters that define the maximum number of
training epochs, the batch size, and learning rate for the ADAM
optimization method. To reproduce the results from the paper,
these values should not be changed. The device can be either
"cpu" or "gpu", which then optimizes the model accordingly after
training or uses the correct version for inference when testing.
"""
PARAMS = {
"nb_timestep": 4,
"n_epochs": 10,
"batch_size": 10,
"batch_size_test": 1,
"nb_gaussian": 16,
"shape_r_gt": 30,
"shape_c_gt": 40,
"learning_rate": 1e-4,
"device": "gpu"
}
"""The predefined input image sizes for each of the 3 datasets.
To reproduce the results from the paper, these values should
not be changed. They must be divisible by 8 due to the model's
downsampling operations. Furthermore, all pretrained models
for download were trained on these image dimensions.
"""
DIMS = {
"image_out_size_salicon": (480, 640),
"image_in_size_salicon": (240, 320),
"image_size_mit1003": (360, 360),
"image_size_cat2000": (216, 384),
"image_size_dutomron": (360, 360),
"image_size_pascals": (360, 360),
"image_size_osie": (240, 320),
"image_size_fiwi": (216, 384)
}