roboflow / roboflow/roboflow-python
Wrong number of classes in data.yaml
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 629
- Fork
- 140
- Merge medio
- 2g 2h
- PR unite (30g)
- 5
Descrizione
Description
After labelling all the images in the dataset, when generating a new dataset version and downloading it, the data.yaml created additional non-existing classes.
Steps to reproduce
- Label your data
- Create a new dataset version
- Check the Modify Classses pre-processing step to make sure you have the right classes
- Generate the dataset version
- Download the dataset
- Check the classes in data.yaml
Expected result
You should only get the classes that you labeled
Actual result
The roboflow creates additional non-existing classes (this also alters the class_id of the real classes)
Note: While labeling, there were some classes that were created by mistake, but they were deleted afterwards since they were never used. This somehow was still picked up by the roboflow.
Evidence
You can clearly see I had 2 classes:

When downloading the dataset, its data.yaml config file looked like this:

This remapped my original class_id's of course.
This was my original data.yaml:

Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Il report non indica file di implementazione né test; inizia riproducendo i passaggi di etichettatura, versionamento del dataset, generazione e download, quindi esamina il data.yaml generato confrontandolo con le classi etichettate e gli ID delle classi originali. Il lavoro è completato quando il file contiene solo classi etichettate e conserva gli ID delle classi attesi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- computer-vision, machine-learning
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 32/100