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

Support print_config #217

Open
Ezra-Yu opened this issue May 31, 2023 · 0 comments
Open

Support print_config #217

Ezra-Yu opened this issue May 31, 2023 · 0 comments

Comments

@Ezra-Yu
Copy link

Ezra-Yu commented May 31, 2023

Describe the feature

Motivation

  1. It is inconvenient when checking whether a config is correct and knows the whole config context.
  2. If I run an experiment, it is inconvenient to modify based on a prototype config.
  3. There is a print_config.py in every sub-repo, it is simple. It should be enhanced.
mim print path/to/config.py

mim print url/to/config.py > xx.py -m [simple]

output

import xxx


###########  MODEL ########
xxxx

###########  DATASET ########
xxxx

Related resources

https://github.com/open-mmlab/mmpretrain/blob/main/tools/misc/print_config.py

Additional context
Add any other context or screenshots about the feature request here.
If you would like to implement the feature and create a PR, please leave a comment here and that would be much appreciated.

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

1 participant