Sweeps
less than a minute
Training and fine-tuning models is done elsewhere in the W&B Python SDK. Use the Public API for querying and managing data after it has been logged to W&B.
class Sweeps
A lazy iterator over a collection of Sweep
objects.
Examples:
from wandb.apis.public import Api
sweeps = Api().project(name="project_name", entity="entity").sweeps()
# Iterate over sweeps and print details
for sweep in sweeps:
print(f"Sweep name: {sweep.name}")
print(f"Sweep ID: {sweep.id}")
print(f"Sweep URL: {sweep.url}")
print("----------")
method Sweeps.__init__
__init__(
client: wandb.apis.public.api.RetryingClient,
entity: str,
project: str,
per_page: int = 50
) → Sweeps
An iterable collection of Sweep
objects.
Args:
client
: The API client used to query W&B.entity
: The entity which owns the sweeps.project
: The project which contains the sweeps.per_page
: The number of sweeps to fetch per request to the API.
property Sweeps.length
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.