activeloopai / activeloopai/deeplake

[BUG] Issue with 300-W DataSet

未關閉
#2,914 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
C++
星號
9.2k
分支
722
PR 合併指標
30 天內沒有已合併 PR

描述

### Severity

P1 - Urgent, but non-breaking

### Current Behavior

In the 300w dataset, there are incorrect data points. A bunch of keypoints just have 2 as one of the x,y values causing keypoints to be on the edges:

![300-W Issue](https://github.com/user-attachments/assets/33ebf2ce-e4b2-479c-8205-9d15cbab7a04)

I originally thought these keypoints may have just been marked with a 2 as a flag that means they aren't useful, but the image on the api website to visualize these keypoints have these points in the correct location:

from: https://app.activeloop.ai/activeloop/300w/firstdbf9474d461a19e9333c2fd19b46115348f
![image](https://github.com/user-attachments/assets/7dae37dd-1e20-4c09-9dd8-c186da9ec53d)

### Steps to Reproduce

This is the code I wrote to show the keypoint locations (image with the green keypoints)
`

ds = deeplake.load("hub://activeloop/300w")
imgs = ds.images
points = ds.keypoints.numpy()

points = points.reshape(599, 102, 2)

img = imgs[0].numpy()
point = points[0]

print(point)
for x, y in point:
cv2.circle(img, (int(x), int(y)), 20, (0, 255, 0), -1)

plt.imshow(img)
plt.axis('off')
plt.show()

`

### Expected/Desired Behavior

I expect the points to not be on the edge.

### Python Version

3.11.7

### OS

Windows 11

### IDE

VScode

### Packages

latest

### Additional Context

_No response_

### Possible Solution

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR (Thank you!)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。