-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Description
Search before asking
- I have searched the YOLOv5 issues and found no similar bug report.
YOLOv5 Component
Other
Bug
Traceback (most recent call last):
File "yolov5_6/utils/loggers/wandb/log_dataset.py", line 30, in
create_dataset_artifact(opt)
File "yolov5_6/utils/loggers/wandb/log_dataset.py", line 12, in create_dataset_artifact
logger = WandbLogger(opt, None, job_type='Dataset Creation') # TODO: return value unused
File "yolov5_6/utils/loggers/wandb/wandb_utils.py", line 190, in init
self.data_dict = self.check_and_upload_dataset(opt)
File "yolov5_6/utils/loggers/wandb/wandb_utils.py", line 203, in check_and_upload_dataset
config_path = self.log_dataset_artifact(opt.data,
File "yolov5_6/utils/loggers/wandb/wandb_utils.py", line 363, in log_dataset_artifact
with open(path, 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/mydata.yaml'
Environment
Python 3.8
Minimal Reproducible Example
log_dataset.py
Additional
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!