IndexError: index is out of bounds for dimension with size 0

I recently watched the following yolov7-pose model, and wanted to see how the bone point detection effect of the video is, so I used the official yolov7-w6-pose.pt weight. However, I encountered a problem when running the detect.py file and solved it for a long time. I will record it here! ! !

1. Error reporting

2. Solutions

(1) Method 1

 Run python detect.py --kpt-label directly in Terminal

(2) Method 2

 

 ok, it's as simple as that, but I've been working on it for hours! ! ! ~~>_<~~

Supongo que te gusta

Origin blog.csdn.net/JulyLH/article/details/128069021
Recomendado
Clasificación