Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions skll/utils/wandb.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
"""

from pathlib import Path
from typing import Any, Dict, Optional, Union
from typing import Any, Dict, Optional

import pandas as pd
import wandb
from wandb.sdk.lib import RunDisabled
from wandb.sdk.wandb_run import Run

from skll.config import _setup_config_parser
Expand All @@ -32,7 +31,7 @@ def __init__(self, wandb_credentials: Optional[Dict[str, str]], config_file_path
The path to this experiment's config file

"""
self.wandb_run: Optional[Union[Run, RunDisabled]] = None
self.wandb_run: Optional[Run] = None
if wandb_credentials:
self.wandb_run = wandb.init(
project=wandb_credentials["wandb_project"],
Expand Down
Loading