Skip to content

Commit

Permalink
Docs: Update ref docs for wandb.init to give more info on special cha…
Browse files Browse the repository at this point in the history
…racters (#4191)
  • Loading branch information
scottire committed Sep 7, 2022
1 parent 643b25d commit b28bfa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wandb/sdk/wandb_init.py
Expand Up @@ -870,7 +870,7 @@ def init(
id=None,
settings: Union[Settings, Dict[str, Any], None] = None,
) -> Union[Run, RunDisabled, None]:
"""Starts a new run to track and log to W&B.
r"""Starts a new run to track and log to W&B.
In an ML training pipeline, you could add `wandb.init()`
to the beginning of your training script as well as your evaluation
Expand Down Expand Up @@ -981,7 +981,7 @@ def init(
wandb will crash.
- `"must"`: if id is set with `init(id="UNIQUE_ID")` or
`WANDB_RUN_ID="UNIQUE_ID"` and it is identical to a previous run,
wandb will automatically resume the run with the id. Otherwise
wandb will automatically resume the run with the id. Otherwise,
wandb will crash.
See [our guide to resuming runs](https://docs.wandb.com/library/advanced/resuming)
for more.
Expand Down Expand Up @@ -1021,9 +1021,9 @@ def init(
See [our guide to this integration](https://docs.wandb.com/library/integrations/openai-gym).
id: (str, optional) A unique ID for this run, used for resuming. It must
be unique in the project, and if you delete a run you can't reuse
the ID. Use the name field for a short descriptive name, or config
the ID. Use the `name` field for a short descriptive name, or `config`
for saving hyperparameters to compare across runs. The ID cannot
contain special characters.
contain the following special characters: `/\#?%:`.
See [our guide to resuming runs](https://docs.wandb.com/library/resuming).
Examples:
Expand Down

0 comments on commit b28bfa9

Please sign in to comment.