Closed tomkr000 closed 5 months ago
Dear tomkr000, there is indeed something wrong here. I'll troubleshoot this asap. In the meantime, you can use the 'Auto Label' function (magic wand), which generates predictions using your uploaded model.
Probably the issue is the way you extract the keypoints, it should be like this:
keypoints = detections[0].keypoints.data.cpu().numpy()
That should normally fix your issues.
That fixed it thank you!
I'm using a pretrained model to help with autolabeling keypoints. It works decently well, however when I use the SDK to upload, the points end up in the wrong places.
Here is the code:
The keypoints from the last image run through inference (I didn't run inference a second time, this is directly what was uploaded with
sample.prediction
): And what they look like in the labeling window:I also tried a couple different ways of loading the image, ex: through cv2 (commented out) but no luck. Any thoughts on what is happening / what I'm doing wrong?