Jumabek / darknet_scripts

Auxilary scripts to work with (YOLO) darknet deep learning famework. AKA -> How to generate YOLO anchors?
223 stars 96 forks source link

Error using gen_anchors - not enough values to unpack #13

Closed groot-1313 closed 6 years ago

groot-1313 commented 6 years ago

Upon running the script on my own dataset, I run into this error:

k,dim = centroids.shape ValueError: not enough values to unpack (expected 2, got 1)

The filelist contains paths to only the txt files. It is reading them correctly, and no empty lines in the txt files either.

EDIT: Python3 issue. Used python2