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

label:bug detect_faces() not working #3

Open
agarciadelasanta opened this issue May 17, 2022 · 0 comments
Open

label:bug detect_faces() not working #3

agarciadelasanta opened this issue May 17, 2022 · 0 comments

Comments

@agarciadelasanta
Copy link

I tried to run the code and i got the following error:
IndexError Traceback (most recent call last)
in ()
1 detector = MTCNN()
----> 2 detector.detect_faces(img)

2 frames
/content/mtcnn_tflite/MTCNN.py in __generate_bounding_box(imap, reg, scale, t)
139 dx1 = np.transpose(reg[:, :, 0])
140 dy1 = np.transpose(reg[:, :, 1])
--> 141 dx2 = np.transpose(reg[:, :, 2])
142 dy2 = np.transpose(reg[:, :, 3])
143

IndexError: index 2 is out of bounds for axis 2 with size 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant