You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
单独跑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路径已经按照说明配置好,求指点
The text was updated successfully, but these errors were encountered:
单独跑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路径已经按照说明配置好,求指点
The text was updated successfully, but these errors were encountered: