Skip to content

Commit

Permalink
Merge pull request facebookresearch#61 from facebookresearch/bug
Browse files Browse the repository at this point in the history
[quick fix] bug in printing options
  • Loading branch information
ajfisch authored May 9, 2017
2 parents 52b3f8d + 09f54e2 commit af7d980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/drqa/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def main(opt):
# Log params
logger.info('[ Created with options: ] %s' %
''.join(['\n{}\t{}'.format(k, v)
for k, v in doc_reader.items()]))
for k, v in doc_reader.opt.items()]))

while True:
context = input('Context: ')
Expand Down
2 changes: 1 addition & 1 deletion examples/drqa/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def main(opt):
# Log params
logger.info('[ Created with options: ] %s' %
''.join(['\n{}\t{}'.format(k, v)
for k, v in doc_reader.items()]))
for k, v in doc_reader.opt.items()]))

# Build training world once
opt['datatype'] = 'train'
Expand Down

0 comments on commit af7d980

Please sign in to comment.