wufan-tb / yolo_slowfast

Yolov5+SlowFast: Realtime Action Detection Based on PytorchVideo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please help me solve the error orz

opened this issue · comments

AttributeError: 'Detections' object has no attribute 'imgs'

Have you sloved this question?

commented

The same as issue for me!

I had the same problem and it can be solved by changing yolo_preds.imgs to yolo_preds.ims in yolo_slowfast.py (There are two of them: the first one is located at line 62 and the second one is at line 115).

Hello,you can modify the 'imgs'to 'ims',it will slove the question.

Thanks.I will try again.

I have tried it and succeed.But I wonder why.....

Congratulations,you will find the 'yolo_preds' include the 'ims' property by the Debug mode,it's not 'imgs'.
you can refer to the below frame,
1663815772458

commented