datasets/pose/ #8081
Replies: 7 comments 40 replies
-
Except for kpt_shape: and flip_idx: , can I use "skeleton: []" in my yaml to tell my model how to connect each key point? Or I should write: annotator = Annotator(im=your_image_array, skeleton=custom_skeleton) in my train.py? Or I can do noting while training, and do key point connect job after train? |
Beta Was this translation helpful? Give feedback.
-
How to get the skeleton values? Do they have to be based on the subject? If I don't have custom skeleton |
Beta Was this translation helpful? Give feedback.
-
I want to use yolo pose estimation on custom dataset, for person activity detection, for annotations I am using cvat annotation tool for skeleton making for each separate activity like working, using_mobile and discussing on each person. After that I am confused on how to extract the json file for yolo format, as what I am getting for my code, when I plot back the contents of the txt file on the jpg file I can't get the suitable output. Code for Converting JSON files according to YOLO format: import json Load the JSON filewith open('person_keypoints_default.json') as f: Define a mapping from keypoints to pairs for skeletonskeleton_pairs = data['categories'][0]['skeleton'] Loop over the annotations and process eachfor annotation in data['annotations']:
Code for View Plottings after conversions for verification: import cv2 def draw_keypoints(image, keypoints, pairs, colors):
def plot_image(image_path, label_path):
Example usageimage_path = './images/20240212_165900.jpg' If anyone here could guide me on this, I will be highly obliged. |
Beta Was this translation helpful? Give feedback.
-
I would like to validate some of these models on the raspberry pi, but find the coco8 dataset to be too small and the coco dataset to be too large to store on a pi. How can I create my own dataset and customize how many images are stored within it? |
Beta Was this translation helpful? Give feedback.
-
Hello, I want to take the coordinates of each keypoint and classify them with numbers. For example, keypoint 1 has coordinates x,y; keypoint 2 has coordinates x1,y2 and so on, I want to do this for my entire dataset. However, I'm getting errors. model_path = 'C:/Users/idigi/Box/UIUC_ACADEMIC/PHD_THESIS/PROJECTS/GAIT_CATTLE/RESULTS/POSE_MODEL/POSE_TRAIN_MODEL/RESULTS_V1_20EPOCHS_500IMAGES/weights/best.pt' image_path = 'C:/Users/idigi/Box/UIUC_ACADEMIC/PHD_THESIS/PROJECTS/GAIT_CATTLE/ANGLE_DATASET/DAY/06_13_19/6.13.19-124F/6.13.19-124F_Color_1560438142923.505_198.jpg' model = YOLO(model_path) results = model(image_path)[0] for result in results: cv2.imshow('img', img) And this is the error: Could you help, please? Thank you |
Beta Was this translation helpful? Give feedback.
-
Hi there, I want to label some special point on the image as a key point. It is not for pose detection, usually only one or sometimes two equivalent points per image. What initial weight should I use for training? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello, when I trained yolov8-pose, some indicators were not displayed, only various loss were displayed, but these indicators were included in the result.csv file, such as map50, MAP50-90 |
Beta Was this translation helpful? Give feedback.
-
datasets/pose/
Understand the YOLO pose dataset format and learn to use Ultralytics datasets to train your pose estimation models effectively.
https://docs.ultralytics.com/datasets/pose/
Beta Was this translation helpful? Give feedback.
All reactions