W&B: Publish metrics
Refs #297
Edited by Manon Blanco
Merge request reports
Activity
added P1 label
assigned to @mblanco
Demo by:
- adding
"wandb": {"project": "wandb-integration"}
toconfigs/tests.json
and usingteklia-dan train --config configs/tests.json
- adding
"wandb": {"project": "wandb-integration", "id": "ns2mnl1u", "resume": "must"}
and updating"max_nb_epochs": 8
inconfigs/tests.json
and usingteklia-dan train --config configs/tests.json
again
- adding
requested review from @starride
I tested the code, and it works as expected
-
"wandb": {"project": "wandb-integration"}
→ creates a wandb run with id9ns6hj6e
-
"wandb": {"project": "wandb-integration", "id": "9ns6hj6e", "resume": "must"}
→ resumes the previous run -
"wandb": {"project": "wandb-integration", "id": "8ns6hj6e", "resume": "must"}
→ raises an error (incorrect run id)
wandb.errors.UsageError: You provided an invalid value for the `resume` argument. The value 'must' is not a valid option for resuming a run (8ns6hj6e) that does not exist. Please check your inputs and try again with a valid run ID. If you are trying to start a new run, please omit the `resume` argument or use `resume='allow'`.
-
"wandb": {"project": "wandb-integration", "resume": "must"}
→ raises an error (missing run id)
wandb.errors.UsageError: You provided an invalid value for the `resume` argument. The value 'must' is not a valid option for resuming a run (dah1f98s) that does not exist. Please check your inputs and try again with a valid run ID. If you are trying to start a new run, please omit the `resume` argument or use `resume='allow'`.
-
"wandb": {"project": "wandb-integration", "id": "8ns6hj6e"}
→ creates a wandb run with id8ns6hj6e
-
mentioned in commit 516b99c7
Please register or sign in to reply