Spaces:
Paused
Paused
Allow anonymous wandb login
Browse files
opendashboards/utils/utils.py
CHANGED
@@ -36,7 +36,7 @@ def get_runs(project: str = "openvalidators", filters: Dict[str, Any] = None, re
|
|
36 |
List[wandb.apis.public.Run]: List of runs or run paths (List[str]).
|
37 |
"""
|
38 |
api = wandb.Api()
|
39 |
-
wandb.login()
|
40 |
|
41 |
runs = api.runs(project, filters=filters)
|
42 |
if return_paths:
|
@@ -56,7 +56,7 @@ def download_data(run_path: Union[str, List] = None, timeout: float = 600) -> pd
|
|
56 |
pd.DataFrame: Dataframe of event log.
|
57 |
"""
|
58 |
api = wandb.Api(timeout=timeout)
|
59 |
-
wandb.login()
|
60 |
|
61 |
if isinstance(run_path, str):
|
62 |
run_path = [run_path]
|
|
|
36 |
List[wandb.apis.public.Run]: List of runs or run paths (List[str]).
|
37 |
"""
|
38 |
api = wandb.Api()
|
39 |
+
wandb.login(anonymous="allow")
|
40 |
|
41 |
runs = api.runs(project, filters=filters)
|
42 |
if return_paths:
|
|
|
56 |
pd.DataFrame: Dataframe of event log.
|
57 |
"""
|
58 |
api = wandb.Api(timeout=timeout)
|
59 |
+
wandb.login(anonymous="allow")
|
60 |
|
61 |
if isinstance(run_path, str):
|
62 |
run_path = [run_path]
|