WongKinYiu / yolor

implementation of paper - You Only Learn One Representation: Unified Network for Multiple Tasks (https://arxiv.org/abs/2105.04206)
GNU General Public License v3.0
1.98k stars 524 forks source link

labels, shapes = zip(*cache.values()) ValueError: not enough values to unpack (expected 2, got 0) #212

Open akbarali2019 opened 2 years ago

akbarali2019 commented 2 years ago

I have only one class. I changed anchors and filters, but it is giving this error. How can I fix it?

tonaalt commented 2 years ago

I think that I have seen that error, when file/folder paths are incorrect for labels/images etc, so at least double check those. Not 100% sure anymore where I meet that error, but seen that.