1adrianb / 1adrianb/face-alignment

fail to get 2d landmark in float dtype

Đang mở
#337 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
7.5k
Fork
1.4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python, pytorch
Lĩnh vực
ai, computer-vision
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.