1adrianb / 1adrianb/face-alignment

fail to get 2d landmark in float dtype

Offen
#337 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
7.5k
Forks
1.4k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I test "fa.get_landmarks_from_image" on some images in 256 * 256 and 512 * 512 resolution. While the result is numpy with dtype float32, but the decimal place of result is always 0, in other words, the dtype of result is int in fact.

Is that a bug? Or how can I solve the problem?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Look at the `fa.get_landmarks_from_image` function in the face-alignment library, likely in the main module or API file. Examine how landmarks are processed and returned, focusing on dtype conversion steps. Check if there's a test suite for landmark accuracy to verify the fix. The goal is to ensure returned float32 arrays contain non-zero decimal values.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, pytorch
Bereich
ai, computer-vision
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.