Update wandb_utils.py (#4953)
`is_valset_wandb_artifact` and `is_trainset_wandb_artifact` were referenced before assignment causing wandb to be unusable.pull/4979/head
parent
38c779b099
commit
0c87478713
|
@ -45,7 +45,8 @@ def check_wandb_config_file(data_config_file):
|
|||
|
||||
|
||||
def check_wandb_dataset(data_file):
|
||||
is_wandb_artifact = False
|
||||
is_trainset_wandb_artifact = False
|
||||
is_valset_wandb_artifact = False
|
||||
if check_file(data_file) and data_file.endswith('.yaml'):
|
||||
with open(data_file, errors='ignore') as f:
|
||||
data_dict = yaml.safe_load(f)
|
||||
|
|
Loading…
Reference in New Issue