Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The relative path in tools/list_configs.py #1873

Open
2 tasks done
Sibyl233 opened this issue Feb 15, 2025 · 2 comments
Open
2 tasks done

[Bug] The relative path in tools/list_configs.py #1873

Sibyl233 opened this issue Feb 15, 2025 · 2 comments
Assignees

Comments

@Sibyl233
Copy link

Prerequisite

Type

I'm evaluating with the officially supported tasks/models/datasets.

Environment

Tag 0.4.0

Reproduces the problem - code/configuration sample

python tools/list_configs.py llama

Reproduces the problem - command or script

python tools/list_configs.py llama

Reproduces the problem - error message

null

Other information

Since the folder configs has moved, the relative path in tools/list_configs.py needs to be modified.

@sun-long
Copy link

只需要调用match_files加层opencompass目录就可以解决了:models = match_files('opencompass/configs/models/', args.pattern, fuzzy=True)

@Aries-xxy
Copy link

Also datasets = match_files('opencompass/configs/datasets/', args.pattern, fuzzy=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants