-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add feature : config file dump to wandb server #1471
Conversation
The above line may not be the best way to set the |
But the former way is not a convenient way to set the config_path which requires us to manually set it every time when we launch another experiment. |
I agree that to do something to Actually I set the config for each experiment when there was no hyperparameter auto tunning. But when I used a hyperparameter tunning tool (wandb sweep), the tool was worked with a train script which includes adjusting and dumping config. In my opinion, this feature is more useful with hyperparameter tunning. That is why I write the line |
Got it. We need to add a unit test for the feature. |
Modify indentations of docs to read easily Co-authored-by: Zaida Zhou <[email protected]>
…mmcv into wandb-config/Sanghyun
@zhouzaida I believed the malfunction was from my mistakes, however, as the results of some tests, I found this function does not work with a path above This image is the result of Therefore, we have two choice whether to move |
@hyun06000 @zhouzaida this feature is so much needed, cant wait to see this merged! |
Sorry for the late reply |
Got it. |
Yet. As you said, If we do not provide the More details about |
First of all, I'm sorry for the late response. |
Hi, the CI failed. |
PR #1616 has supported uploading files to the wandb server so should I close the PR. |
Hi @hyun06000 !We are grateful for your efforts in helping improve this open-source project during your personal time. |
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
WandB has many features to record ML experiments. It can record python scripts or any files on WandB repository as well as plots of training and measurements. So I want to add a feature to upload a config file of mmdetection or mmsegmentation etc. The config file is the most important part of open-mmlab. This pull-request can support a model comparison and reconstruction at the same time at wandb.
Modification
file: mmcv/runner/hooks/logger/wandb.py
line: 2 / 20 / 27 / 47 / 48
Use cases (Optional)
This is an example of config file ofr wandb logger. If user can set a work-dir before setting config file, user can write down the dumped config file path directly.
every mm{library}/tools/train.py includes a line for dump the config file of each experiment. So user can set a line to write a config path for wandb under the line.
This is a result.
Checklist
Before PR:
After PR: