wufan-tb / yolo_slowfast

Yolov5+SlowFast: Realtime Action Detection Based on PytorchVideo
438 stars 55 forks source link

Please help me solve the error orz #10

Closed ghost closed 1 year ago

ghost commented 2 years ago

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

inrped commented 2 years ago

Have you sloved this question?

David-19940718 commented 2 years ago

The same as issue for me!

anilkaratopak commented 2 years ago

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).

wangkang12 commented 2 years ago

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

inrped commented 2 years ago

Thanks.I will try again.

KingH12138 commented 2 years ago

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

wangkang12 commented 2 years ago

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

David-19940718 commented 2 years ago

It worked! Thank you so much.---- Replied Message @.>Date09/21/2022 23:54 @.> CcJack @.**@.>SubjectRe: [wufan-tb/yolo_slowfast] Please help me solve the error orz (Issue #10) I have tried it and succeed.But I wonder why.....

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/wufan-tb/yolo_slowfast/issues/10#issuecomment-1253904039", "url": "https://github.com/wufan-tb/yolo_slowfast/issues/10#issuecomment-1253904039", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]