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

[BUG] Issue with 300-W DataSet #2914

Open
1 task
AaronHonjaya opened this issue Jul 22, 2024 · 0 comments
Open
1 task

[BUG] Issue with 300-W DataSet #2914

AaronHonjaya opened this issue Jul 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AaronHonjaya
Copy link

AaronHonjaya commented Jul 22, 2024

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

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

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!)
@AaronHonjaya AaronHonjaya added the bug Something isn't working label Jul 22, 2024
@AaronHonjaya AaronHonjaya changed the title [BUG] [BUG] Issue with 300-W DataSet Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant