Skip to content

configparser.NoSectionError: No section: 'config' #14

Description

@wentinghome

Hi,
I'm wondering if you have this problem? I set up the following environment, and run with python experiment.py config.conf.
python (3.5.2)
numpy 1.14.0)
tensorflow (1.4.1)

The program stopped here and the err is in the following. Any thoughts or suggestions on this? Thank you.

Traceback (most recent call last):
File "experiment.py", line 242, in
run_experiment(sys.argv[1])
File "experiment.py", line 153, in run_experiment
config = parse_config("config", config_path)
File "experiment.py", line 56, in parse_config
for key, value in config_parser.items(config_section):
File "/home/wtzhao/.conda/envs/seq_labeling/lib/python3.5/configparser.py", line 846, in items
raise NoSectionError(section)
configparser.NoSectionError: No section: 'config'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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