talebolano / yolov3-network-slimming

yolov3 network slimming剪枝的一种实现
344 stars 93 forks source link

运行出错python sparsity_train.py -sr --s 0.0001 --image_folder obj.data --cfg yolov3.cfg --weights yolov3.weights #38

Open zhangxue919 opened 5 years ago

zhangxue919 commented 5 years ago

错误内容: File "D:\Program Files\darknet\yolov3-network-slimming-master\yolov3-network-slimming-master\util.py", line 203, in build_targets th[b, best_n, gj, gi] = math.log(gh / anchors[best_n][1] + 1e-16)#原来没有;, ValueError: math domain error 求大神帮忙