Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when running python detect.py #2

Open
kvv2018 opened this issue Aug 1, 2018 · 2 comments
Open

Errors when running python detect.py #2

kvv2018 opened this issue Aug 1, 2018 · 2 comments

Comments

@kvv2018
Copy link

kvv2018 commented Aug 1, 2018

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
Copy link
Owner

Fermes commented Aug 1, 2018

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

@kvv2018
Copy link
Author

kvv2018 commented Aug 1, 2018

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants