Skip to main content
Weights & Biases Documentation home page
Search...
⌘K
Ask AI
Log in
Sign Up
Sign Up
Search...
Navigation
How do I best log models from runs in a sweep?
Platform
W&B Models
W&B Weave
W&B Inference
W&B Training
Release Notes
Support
Support: W&B Models
Support: W&B Models
Academic (2)
Administrator (23)
Alerts (2)
Anonymous (2)
Artifacts (13)
AWS (2)
Billing (4)
Charts (4)
Connectivity (4)
Crashing And Hanging Runs (5)
Environment Variables (11)
Experiments (36)
Hyperparameter (3)
Inference (3)
Logs (6)
Metrics (12)
Notebooks (3)
Outage (3)
Privacy (2)
Projects (4)
Python (6)
Reports (15)
Resuming (2)
Runs (18)
Security (6)
Storage (2)
Sweeps (16)
Tables (2)
Team Management (12)
Tensorboard (2)
User Management (13)
Workspaces (6)
Wysiwyg (5)
English
close
How do I best log models from runs in a sweep?
Copy page
Copy page
One effective approach for logging models in a
sweep
involves creating a model artifact for the sweep. Each version represents a different run from the sweep. Implement it as follows:
Report incorrect code
Copy
Ask AI
wandb.Artifact(
name
=
"sweep_name"
,
type
=
"model"
)
Artifacts
Sweeps
Was this page helpful?
Yes
No
Suggest edits
Raise issue
⌘I
Assistant
Responses are generated using AI and may contain mistakes.