roboflow / roboflow/roboflow-python

Wrong number of classes in data.yaml

Aperta
#88 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug
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
  1. Label your data
  2. Create a new dataset version
  3. Check the Modify Classses pre-processing step to make sure you have the right classes
  4. Generate the dataset version
  5. Download the dataset
  6. 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:
image

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

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

image

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. 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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.