Created
October 5, 2023 09:20
-
-
Save tcapelle/473f0a7d140a58e16e402eb04425fc7e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import wandb | |
from wandb import Api | |
api = Api() | |
ENTITY = "fastai" | |
PROJECT = "fine_tune_timm" | |
project = api.project(PROJECT, entity=ENTITY) | |
sweeps = project.sweeps() | |
sweep = sweeps[0] | |
sweep.id | |
def get_sweep_runs(sweep_id, project=PROJECT, entity=ENTITY): | |
sweep = api.sweep(f"{entity}/{project}/{sweep_id}") | |
for run in sweep.runs: | |
print(run.id) | |
get_sweep_runs(sweep.id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment