Skip to content

Commit 962ef42

Browse files
committed
Baseline VGG json file
1 parent cbf626f commit 962ef42

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Visual_Attention/bert_features_extract.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ def extract_bert_features(json_file,dataroot_folder,choice="yes_no",split="train
2929
h5f.close()
3030

3131
if __name__ == "__main__":
32+
<<<<<<< Updated upstream
3233
json_file="/proj/digbose92/VQA/VisualQuestion_VQA/Visual_All/data/v2_OpenEnded_mscoco_train2014_yes_no_questions.json"
3334
dataroot_folder="/data/digbose92/VQA/COCO/train_hdf5_COCO"
35+
=======
36+
dataroot_folder="/home/nithin_rao/CSCI_599/VisualQuestion_VQA/"
37+
json_file=dataroot_folder+"Visual_All/data/v2_OpenEnded_mscoco_train2014_yes_no_questions.json"
38+
# json_file="/proj/digbose92/VQA/VisualQuestion_VQA/Visual_All/data/v2_OpenEnded_mscoco_val2014_yes_no_questions.json"
39+
# dataroot_folder="/proj/digbose92/VQA/VisualQuestion_VQA/common_resources"
40+
>>>>>>> Stashed changes
3441
extract_bert_features(json_file,dataroot_folder)
35-

common_resources/validation_results_baseline1000.json

+1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)