Converting EXLPose Dataset Annotations to Yolo8-pose
mycodeDev786 opened this issue · 3 comments
Hi there! 😊 It sounds like you're diving deep into converting EXLPose dataset annotations for use with YOLO8-pose. While the image link didn’t come through properly, here’s a basic guideline to start the conversion process:
- Ensure each annotation includes necessary info in this format:
class x_center y_center width height
.- For pose data, append joint coordinates and confidence scores:
... joint1_x joint1_y conf1 joint2_x joint2_y conf2 ...
.- Use relative coordinates (values between 0 and 1) compared to the image size.
Example for a person (class 0) with two pose keypoints:
0 0.5 0.5 0.2 0.4 0.25 0.3 1 0.75 0.7 1
This represents a bounding box centered at (0.5, 0.5) with a width of 0.2 and height of 0.4, and two keypoints with confidence scores.
If you're still facing issues, could you provide more details about the specific difficulties? This will help us offer more targeted advice. Remember, for broader guides or details, checking the Ultralytics Docs might also illuminate the path forward. Keep exploring and experimenting!
I am attaching the coco JSON file. i have converted and i am also attaching the converted yolo text file as well. but when i test the model it does not consider my convert yolo file as a val label.
coco.json