-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update watch.md #1090
base: main
Are you sure you want to change the base?
Update watch.md #1090
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,12 @@ | |
|
||
| Args | | | ||
| :--- | :--- | | ||
| models (Union[torch.nn.Module, Sequence[torch.nn.Module]]): A single model or a sequence of models to be monitored. criterion (Optional[torch.F]): The loss function being optimized (optional). log (Optional[Literal["gradients", "parameters", "all"]]): Specifies whether to log "gradients", "parameters", or "all". Set to None to disable logging. (default="gradients") log_freq (int): Frequency (in batches) to log gradients and parameters. (default=1000) idx (Optional[int]): Index used when tracking multiple models with `wandb.watch`. (default=None) log_graph (bool): Whether to log the model's computational graph. (default=False) | | ||
| `models` | A single model or a sequence of models to be monitored. | | ||
|`criterion `| The loss function being optimized (optional). | | ||
|`log `| Specifies whether to log "gradients", "parameters", or "all". Set to None to disable logging. (default="gradients") | | ||
Check failure on line 27 in content/ref/python/watch.md
|
||
|`log_freq `|: Frequency (in batches) to log gradients and parameters. (default=1000)| | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm doing a little research about what this option is about. The description is confusing me. |
||
|`idx `| Index used when tracking multiple models with `wandb.watch`. (default=None)| | ||
|`log_graph `| Whether to log the model's computational graph. (default=False) | | ||
|
||
| Raises | | | ||
| :--- | :--- | | ||
|
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.