Skip to content

Commit

Permalink
Update Retrieval.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Junnan Li authored Jul 16, 2021
1 parent 750a2a8 commit 288838b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def main(args, config):
parser.add_argument('--config', default='./configs/Retrieval_flickr.yaml')
parser.add_argument('--output_dir', default='output/Retrieval_flickr')
parser.add_argument('--checkpoint', default='')
parser.add_argument('--text_encoder', default='bert-large-uncased')
parser.add_argument('--text_encoder', default='bert-base-uncased')
parser.add_argument('--evaluate', action='store_true')
parser.add_argument('--device', default='cuda')
parser.add_argument('--seed', default=42, type=int)
Expand All @@ -376,4 +376,4 @@ def main(args, config):

yaml.dump(config, open(os.path.join(args.output_dir, 'config.yaml'), 'w'))

main(args, config)
main(args, config)

0 comments on commit 288838b

Please sign in to comment.