yolov4-tiny-keras icon indicating copy to clipboard operation
yolov4-tiny-keras copied to clipboard

Exception has occurred: ValueError a must be greater than 0 unless no samples are taken

Open EchoHayate opened this issue 1 year ago • 0 comments

单独跑kmeans_for_anchors.py 报错如下 Exception has occurred: ValueError a must be greater than 0 unless no samples are taken File "C:\Users\10407\Desktop\kmeans.py", line 161, in kmeans cluster = box[np.random.choice(row, k, replace = False)] File "C:\Users\10407\Desktop\kmeans.py", line 247, in cluster, near = kmeans(data, anchors_num) ValueError: a must be greater than 0 unless no samples are taken vocdevkit路径已经按照说明配置好,求指点

EchoHayate avatar Apr 21 '23 04:04 EchoHayate