-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Wandb config added to docs #1853
base: 0.x
Are you sure you want to change the base?
Conversation
docs/tutorials/1_config.md
Outdated
dict(type='TextLoggerHook', by_epoch=False), | ||
dict(type='TensorboardLoggerHook', by_epoch=False), | ||
dict(type='WandbLoggerHook', by_epoch=False, | ||
init_kwargs={'entity': entity, 'project': project, 'config': cfg_dict}), # The Wandb logger is also supported, It requires `wandb` to be installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to define project
and cfg_dict
? Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's simple. project is the project name in WandB.ai, and the entity is the user entity/name in WandB.ai. I'll make a few changes to provide better docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, cfg_dict is a dictionary containing parameters we need to log into WandB.
Will go back to this in a week. Currently working on the new version release. |
Motivation
To better use mmaction2 functionality.
Modification
It's a few lines modified to add more logger hooks to docs.
modify files:
docs/tutorials/config.md
docs_zh_CN/tutorials/config.md