8000 IndexError: index 0 is out of bounds for axis 0 with size 0 · Issue #3 · beibuwandeluori/DFGC_Detection · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

IndexError: index 0 is out of bounds for axis 0 with size 0 #3

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

Open
ningerlove opened this issue Mar 31, 2022 · 1 comment
Open

IndexError: index 0 is out of bounds for axis 0 with size 0 #3

ningerlove opened this issue Mar 31, 2022 · 1 comment

Comments

@ningerlove
Copy link

File "extract_video_celeb_df_v2.py", line 168, in
main()
File "extract_video_celeb_df_v2.py", line 132, in main
face_images, face_boxes, face_index = extract_video(real_video_path, model, scale=scale)
File "extract_video_celeb_df_v2.py", line 57, in extract_video
method="probability")
File "/usr/local/lib/python3.6/dist-packages/facenet_pytorch/models/mtcnn.py", line 436, in select_boxes
box = boxes[box_order][[0]]
IndexError: index 0 is out of bounds for axis 0 with size 0
how to solve?

@samils7
Copy link
samils7 commented Apr 21, 2022

Make sure you have the exact version of facenet-pytorch==2.5.0
It will solve the problem

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

2 participants
0