Skip to content

AttributeError : flag_values_dict in QA-Transfer #3

Description

@aneesh-joshi

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions