Append 0 to default label names for single digit labels.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- machine-learning
Direzione di ricerca
Inizia dalla generazione delle etichette predefinite dello strumento di labeling delle immagini e riproduci il problema con circa 15 etichette, quindi ispeziona l'XML utilizzato da train_shape_predictor.py. Il lavoro è completato quando le etichette predefinite a una cifra vengono scritte come 00 fino a 09 e l'ordine dei landmark rimane corretto quando l'XML viene letto per l'addestramento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The default label names for the first 10 labels are (1-9). However, they should be (00, 01, ... 09). Otherwise, when dlib reads the XML files and reorders the labels in ascending order the labels get messed up. For instance, 13 labels from (0-12) are mapped like the following by dlib before training. The right column is the original label and order of the landmarks in the .XML files. The left column is how the dlib training code perceives as their order. For example, the original 10th point is mapped to the 2nd point, the original 11th to 3rd etc. This results due to the missing 0 in front of 0-9 labels.

I used 10 images as both training and testing dataset. I achieved zero MAE on both testings and training. However, the order of the landmarks was all messed up. As I was getting 0 MAE that means the problem was happening with the XML reader of the dlib training functions.
I manually added the 0s to the labels and then the training was correct.
I know I can just manually add the 0s when labelling images using the tool. However, when going for thousands of images, this is a very unnecessary waste of time. I might for now write an XML parser script that will append the zeros.
To Reproduce
Steps to reproduce the behavior:
- Label a few images with the default labels. Use around 15 labels. Use the same images for training and testing.
- Train a shape predictor using http://dlib.net/train_shape_predictor.py.html
- Get zero MAE on both training and testing as we are just testing an overfitted model.
- See that the correct key points were detected but the ordering of the landmarks are messed up.
Screenshots
Ground truth:

Predicted Landmarks:

But MAE was zero. So that means DLIB is reordering the landmarks after reading. And then using that sorted list as the new ground truth order of the landmarks.
- Lingua principale
- HTML
- Stelle
- 1k
- Fork
- 611
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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.
Altre issue di NaturalIntelligence/imglab
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
NaturalIntelligence/imglab#190 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
NaturalIntelligence/imglab#181 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
NaturalIntelligence/imglab#177 · 1 commento ·
-
CategoriesAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
NaturalIntelligence/imglab#175 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
NaturalIntelligence/imglab#174 ·
Tutte le issue di NaturalIntelligence/imglab
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug difficulty:3
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
MakazhanAlpamys/Soup#3032 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] arc_agi_2: a correct grid in the format the prompt asks for scores 0 (exact_match gold is a one-line list)Forse già presa @BahaaMattar l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
huggingface/lighteval#1510 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
UKGovernmentBEIS/inspect_evals#2917 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
devops help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
guaardvark/guaardvark#419 ·
I maintainer di solito rispondono entro 2 giorni