Permalink
Browse files

Update vqa_preprocessing.py

  • Loading branch information...
1 parent 99d766f commit 747950d78d9473adc5fe2f1ec89b3e8b99dc45d0 @jiasenlu jiasenlu committed Dec 23, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 data/vqa_preprocessing.py
@@ -30,7 +30,7 @@ def download_vqa():
def main(params):
- if params['download'] == True:
+ if params['download'] == 'True':
download_vqa()
'''
@@ -122,7 +122,7 @@ def main(params):
parser = argparse.ArgumentParser()
# input json
- parser.add_argument('--download', default=False, help='Download and extract data from VQA server')
+ parser.add_argument('--download', default='False', help='Download and extract data from VQA server')
parser.add_argument('--split', default=1, type=int, help='1: train on Train and test on Val, 2: train on Train+Val and test on Test')
args = parser.parse_args()

0 comments on commit 747950d

Please sign in to comment.