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