Fermes / yolov3-mxnet

A minimal YOLOv3 implementation in MXNet, don't need cfg.
41 stars 12 forks source link

Errors when running python detect.py #2

Open kvv2018 opened 6 years ago

kvv2018 commented 6 years ago

I get the following error when I run detect.py Traceback (most recent call last): File "detect.py", line 246, in prediction = write_results(prediction, num_classes, confidence=confidence, nms_conf=nms_thresh) File "/media/caffe-pc/TranscendSSD/yolov3-mxnet/yolov3-mxnet/utils.py", line 171, in write_results ious = bbox_iou(box1, box2, transform=False).asnumpy() File "/media/caffe-pc/TranscendSSD/yolov3-mxnet/yolov3-mxnet/utils.py", line 29, in bbox_iou box1 = nd.abs(box1) File "", line 36, in abs AssertionError: Argument data must have NDArray type, but got [[ 87.90929413 116.13845062 307.02111816 289.9173584 0.9935807 0.99926466 1. ] [ 87.90929413 116.13845062 307.02111816 289.9173584 0.9935807 0.99926466 1. ] [ 87.90929413 116.13845062 307.02111816 289.9173584 0.9935807 0.99926466 1. ]]

Any ideas ?

Fermes commented 6 years ago

It has been fixed. I push the wrong version py file. So sorry for that.

kvv2018 commented 6 years ago

Thanks