marekrei / sequence-labeler

Neural network sequence labeling model
252 stars 74 forks source link

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

Open wentinghome opened 3 years ago

wentinghome commented 3 years ago

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'