Skip to content

Commit

Permalink
Update vqa_preprocessing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jiasenlu committed Dec 23, 2015
1 parent 99d766f commit 747950d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/vqa_preprocessing.py
Expand Up @@ -30,7 +30,7 @@ def download_vqa():


def main(params):
if params['download'] == True:
if params['download'] == 'True':
download_vqa()

'''
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 747950d

Please sign in to comment.