-
Notifications
You must be signed in to change notification settings - Fork 8
/
data_config.py
39 lines (34 loc) · 971 Bytes
/
data_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
import os.path
DATA_CONFIG_DICT = {}
ROOT_PATH_ = "./"
# coco_train2014.pkl
# coco_train2014_seg_scale224_sigma9.0_min_size224.lmdb
# karpathy
DATA_CONFIG_DICT["coco"] = {
"train": {
"features_path": os.path.join(ROOT_PATH_, ""),
"data_path": os.path.join(ROOT_PATH_, "karpathy"),
},
"val": {
"features_path": os.path.join(ROOT_PATH_, ""),
"data_path": os.path.join(ROOT_PATH_, "karpathy"),
},
"test": None
}
# cc3m_train_desc.pkl
# cc3m_train_lmdb_total
# cc3m_train_lmdb_total_keys.pkl
# cc3m_train_lmdb_total_seg_scale224_sigma9.0_min_size224.lmdb
# Train_GCC-training.tsv
# Validation_GCC-1.1.0-Validation.tsv
DATA_CONFIG_DICT["cc"] = {
"train": {
"features_path": os.path.join(ROOT_PATH_, ""),
"data_path": os.path.join(ROOT_PATH_, ""),
},
"val": {
"features_path": os.path.join(ROOT_PATH_, ""),
"data_path": os.path.join(ROOT_PATH_, ""),
},
"test": None
}