'Roboflow 'upload' page not able to extract labelmap from data.yaml
On the 'Upload' page in roboflow, I can't load in a yolov5 data.yaml labelmap file to map the class numbers of pre-annotated images to the class names. The page keeps saying 'Processing files'... What should I do?
Screenshot of uploading yolov5 data.yaml labelmap
The content structure of data.yaml is:
names:
- name1
- name2
- name3
nc: 3
Update
The above content structure was the cause of the error. The correct file format could be found from the 'Versions' tab, where you can 'Export' and 'download zip to computer'. The data.yaml in this file has the following format:
train: ../train/images
val: ../valid/images
nc: 3
names: ['class1','class2','class3']
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
