CVUsers/Smoke-Detect-by-YoloV5

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

Opened this issue · 2 comments

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

TypeError: zip argument #82 must support iteration

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.