ppdet,mstest报错
Created by: littletomatodonkey
报错信息如下:
File "/home/vis/gry/code/github/PaddleDetection/ppdet/utils/post_process.py", line 186, in mstest_box_post_process
bbox_pred = get_nms_result(ms_boxes, ms_scores, cfg)
File "/home/vis/gry/code/github/PaddleDetection/ppdet/utils/post_process.py", line 143, in get_nms_result
cfg.MultiScaleTEST['vote_thresh'])
File "/home/vis/gry/code/github/PaddleDetection/ppdet/utils/post_process.py", line 126, in box_voting
top_dets[k, 1:] = np.average(boxes_to_vote, axis=0, weights=ws)
File "/home/vis/gry/paddle-release/python-gcc482-paddle/lib/python2.7/site-packages/numpy/lib/function_base.py", line 1158, in average
"Weights sum to zero, can't be normalized")
ZeroDivisionError: Weights sum to zero, can't be normalized
单尺度预测没有问题~模型为cascade_fpn_dcnv2