Smoke-Detect-by-YoloV5 icon indicating copy to clipboard operation
Smoke-Detect-by-YoloV5 copied to clipboard

本来就是有BUG ---- labels, shapes = zip(*[cache[x] for x in self.img_files])

Open cqray1990 opened this issue 4 years ago • 2 comments

labels, shapes = zip(*[cache[x] for x in self.img_files])

TypeError: zip argument #82 must support iteration

cqray1990 avatar May 15 '21 11:05 cqray1990

数据制作错了吧,文章有公众号,公众号回复yolov5香烟,有源码数据和模型------------------ 原始邮件 ------------------ @.> 发送时间: 2021年5月15日(星期六) 晚上7:53 @.>; @.**>; 主题: [CVUsers/Smoke-Detect-by-YoloV5] 本来就是有BUG ---- labels, shapes = zip([cache[x] for x in self.img_files]) (#14)

CVUsers avatar May 15 '21 12:05 CVUsers

The bug was caused by the format error of the 000129.JPG in the dataset, rename to 000129.jpg, I solve the bug by doing this.

thirttyyy avatar Nov 30 '22 02:11 thirttyyy