From 09f54e253c644bce7f41e6dfe6ba4f1f1b0a6ba0 Mon Sep 17 00:00:00 2001 From: Adam Fisch Date: Tue, 9 May 2017 11:32:00 -0700 Subject: [PATCH] stupid bug --- examples/drqa/interactive.py | 2 +- examples/drqa/train.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/drqa/interactive.py b/examples/drqa/interactive.py index 5f89d7e7f89..52afb83085a 100644 --- a/examples/drqa/interactive.py +++ b/examples/drqa/interactive.py @@ -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: ') diff --git a/examples/drqa/train.py b/examples/drqa/train.py index 07df2b305e6..6594fead514 100644 --- a/examples/drqa/train.py +++ b/examples/drqa/train.py @@ -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'