pcgreat / SeqMatchSeq

Compare-Aggregate method for WikiQA (via PyTorch)
29 stars 7 forks source link

AttributeError : flag_values_dict in QA-Transfer #3

Open aneesh-joshi opened 6 years ago

aneesh-joshi commented 6 years ago

Sorry for creating an issue in this repo. but I had to since your qa-transfer repo is a branch and doesn't have options for issues.

I am able to run ./download.sh and ./preprocess.sh

However on running ./pretrain.sh span I get the following errors:

./pretrain.sh span
Traceback (most recent call last):
  File "/home/aneeshj/miniconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/aneeshj/miniconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/aneeshj/Projects/qa-transfer/basic/cli.py", line 141, in <module>
    tf.app.run()
  File "/home/aneeshj/miniconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "/home/aneeshj/Projects/qa-transfer/basic/cli.py", line 133, in main
    config_dic = flags.FLAGS.flag_values_dict()
  File "/home/aneeshj/miniconda3/lib/python3.6/site-packages/tensorflow/python/platform/flags.py", line 55, in __getattr__
    raise AttributeError(name)
AttributeError: flag_values_dict
Traceback (most recent call last):
  File "/home/aneeshj/miniconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/aneeshj/miniconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/aneeshj/Projects/qa-transfer/basic/cli.py", line 141, in <module>
    tf.app.run()
  File "/home/aneeshj/miniconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "/home/aneeshj/Projects/qa-transfer/basic/cli.py", line 133, in main
    config_dic = flags.FLAGS.flag_values_dict()
  File "/home/aneeshj/miniconda3/lib/python3.6/site-packages/tensorflow/python/platform/flags.py", line 55, in __getattr__
    raise AttributeError(name)
AttributeError: flag_values_dict

Could you please check it for errors. Thanks!