-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Description
❔Question Whenever i try to run my model i run into this error AttributeError: 'NoneType' object has no attribute 'startswith' from wandbutils.py line 161 I wonder why ? Any workaround or fix
Additional context
Traceback (most recent call last):
File "train.py", line 541, in
train(hyp, opt, device, tb_writer)
File "train.py", line 72, in train
wandb_logger = WandbLogger(opt, Path(opt.save_dir).stem, run_id, data_dict)
File "C:\Users\markg\venv\yolov5\utils\wandb_logging\wandb_utils.py", line 109, in init
self.data_dict = self.setup_training(opt, data_dict)
File "C:\Users\markg\venv\yolov5\utils\wandb_logging\wandb_utils.py", line 140, in setup_training
self.train_artifact_path, self.train_artifact = self.download_dataset_artifact(data_dict.get('train'),
File "C:\Users\markg\venv\yolov5\utils\wandb_logging\wandb_utils.py", line 161, in download_dataset_artifact
if path.startswith(WANDB_ARTIFACT_PREFIX):
AttributeError: 'NoneType' object has no attribute 'startswith'