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?
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?