Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yolov8 Pose Landmark Detection, not getting full success #18155

Open
1 task done
cafermutluozkan opened this issue Dec 10, 2024 · 2 comments
Open
1 task done

Yolov8 Pose Landmark Detection, not getting full success #18155

cafermutluozkan opened this issue Dec 10, 2024 · 2 comments
Labels
pose Pose/keypoint estimation models question Further information is requested

Comments

@cafermutluozkan
Copy link

cafermutluozkan commented Dec 10, 2024

Search before asking

  • I have searched the Ultralytics YOLO issues and discussions and found no similar questions.

Question

Hello,
I detect points on the face in Cephalometric Images.
I used Yolov8x-pose and Yolo11x-pose models for this.
Training was done over 1000 images.
Train= 800
Valid= 100
Test= 100

I created the labels myself.
I made the labels according to the following order.
Example Label 1
0 0.683254 0.603351 0.492632 0.599330 0.811962 0.592268 2 0.819617 0.577320 2 0.499522 0.564433 2 0.843541 0.727320 2 ...
and
kpt_shape: [44, 3]

Example Label 2
0 0.683254 0.603351 0.492632 0.599330 0.811962 0.592268 0.819617 0.577320 0.499522 0.564433 0.843541 0.727320...
kpt_shape: [44, 3] or kpt_shape: [44, 2]

Here, when I make Labels like “Example Label 1”
Yolov8 model found 43 points out of 44 points as I wanted.
The yolo11 model found 43 out of 44 points as I wanted.
In both tutorials I find a different point too outlier!

Here when I make the labels like “Example Label 2”
On Yolov8 he found almost none of them in the right places.
Yolo11 training was not done.

Here I would like to ask the following questions;
1-) Why didn't I succeed in all points in “Sample Tag 1”?
2-) In “Sample Tag 2” I deleted the “2” in the txt files, what is the importance of this? Is this wrong?
3-) What is the importance of “2” or “3” in the kpt_shape parameter?

Additional

No response

@cafermutluozkan cafermutluozkan added the question Further information is requested label Dec 10, 2024
@UltralyticsAssistant UltralyticsAssistant added the pose Pose/keypoint estimation models label Dec 10, 2024
Copy link
Collaborator

  1. You probably need a lot more images. 44 points is like having 44 classes. 800 images are not enough for that.
  2. It indicates visibility. making own COCO data: what does visible mean? cocodataset/cocoapi#130 (comment)
  3. If you don't have have visibility label, it would be 2 values per keypoint (x and y). If you have visibility label, you will have 3 values (x, y and visibility).

@cafermutluozkan
Copy link
Author

@Y-T-G Thank you for your valuable answers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pose Pose/keypoint estimation models question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants