-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.py
52 lines (45 loc) · 1.45 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
40
41
42
43
44
45
46
47
48
49
50
51
"""UnrealStereo config system.
"""
import os
import os.path as osp
import numpy as np
# `pip install easydict` if you don't have it
from easydict import EasyDict as edict
__C = edict()
# Consumers can get config by:
# from fast_rcnn_config import cfg
cfg = __C
#
# Training options
#
__C.IMG_HEIGHT = 480.0
__C.IMG_WIDTH = 640.0
__C.f = __C.IMG_WIDTH / 2
__C.DATA_ROOT = osp.join(os.getcwd(), 'Data')
__C.datasets = {
'10k' : { 'filename': 'DatasetFiles/unrealstereo.json',
'testsets': {
'sample_10k' : 'Experiments/Testsets/sample_10k.txt',}
},
'Material' : { 'filename': 'DatasetFiles/material.json',
'testsets': {
'material' : 'Experiments/Testsets/material.txt',
'textureless' : 'Experiments/Testsets/tl.txt',
'transparent' : 'Experiments/Testsets/tr.txt',
'specular' : 'Experiments/Testsets/sp.txt',}
},
'kitti' : { 'filename': 'DatasetFiles/kitti.json',
'testsets': {
'kitti2012' : 'Experiments/Testsets/kitti2012.txt',
'kitti2015' : 'Experiments/Testsets/kitti2015.txt',}
},
'jump' : { 'filename': 'DatasetFiles/jump.json',
'testsets': {
'jump' : 'Experiments/Testsets/jump.txt',}
},
'middlebury' : { 'filename': 'DatasetFiles/middlebury.json',
'testsets': {
'middlebury_quarter' : 'Experiments/Testsets/middlebury_quarter.txt',
}
},
}