-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
31 lines (25 loc) · 931 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
data_folder = 'data/'
model_folder = 'models/'
hyper_parameter_folder = 'hyper_parameter_search_data/'
final_model_folder = 'final_models/'
# given by project
h5_file = 'VQA_image_features.h5'
json_file = 'VQA_img_features2id.json'
# given by project
a_train_data_file = 'vqa_annotatons_train.gzip'
q_train_data_file = 'vqa_questions_train.gzip'
a_test_data_file = 'vqa_annotatons_test.gzip'
q_test_data_file = 'vqa_questions_test.gzip'
q_val_data_file = 'vqa_questions_valid.gzip'
a_val_data_fie = 'vqa_annotatons_valid.gzip'
results_write_file = 'results'
npy_save_type = '.npy'
# where the preprocessed data will be saved
train_data_write_file = 'train_data_processed.csv'
test_data_write_file = 'test_data_processed.csv'
val_data_write_file = 'val_data_processed.csv'
# where the dictionary will be saved
idx2word_file = 'idx2word'
word2idx_file = 'word2idx'
labels2idx_file = 'labels2idx'
idx2labels_file = 'idx2labels'