Skip to content

evaluation README.md command error and logging error #127

@wzp-0815

Description

@wzp-0815

Bug

  1. There is an command error in evaluation/README.md:
python evaluate.py --config_path <your_config.yaml>

config_path should be corrected as config_file

  1. There is an logging problem in evaluation/evaluate.py, when run as python evalutation.py, no log will be printed in terminal.

The problem is in _setup_logging function, which define a config to root logger other than logger object. By the way, _setup_deterministic_seeds() is called before _setup_logging() in __init__(), which will miss one logging message

To Reproduce

Just run python evaluate.py --config_path <your_config.yaml>

Repository version

0d8357f

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions