-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
it's just a minor bug about compatibility
🐛 Bug
for form2) or 3) in dataset yaml
# train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/]
The data_dict['train']
and data_dict['val']
are list in here.
if data_dict['train'].startswith(WANDB_ARTIFACT_PREFIX):
...
if data_dict['val'].startswith(WANDB_ARTIFACT_PREFIX):
...
To Reproduce (REQUIRED)
Input:
train:
[
/path/image_list1.txt,
/path/image_list2.txt,
/path/image_list3.txt
]
Output:
YOLOv5 🚀 v4.0-185-g74276d5 torch 1.7.1+cu101 CUDA:0 (GeForce RTX 2080 Ti, 10989.4375MB)
CUDA:1 (GeForce RTX 2080 Ti, 10989.4375MB)
CUDA:2 (GeForce RTX 2080 Ti, 10989.4375MB)
CUDA:3 (GeForce RTX 2080 Ti, 10989.4375MB)
if data_dict['train'].startswith(WANDB_ARTIFACT_PREFIX):
AttributeError: 'list' object has no attribute 'startswith'
Environment
If applicable, add screenshots to help explain your problem.
- OS: [Ubuntu]
- GPU [2080 Ti]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working