-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
请问darknet的python接口更新后,make_boxes...这几个函数用什么替代? #679
Comments
同问 ... |
Are you try recompile with #289 ? Maybe @TheMikeyR post that code just for previous version. I tried like you do too, and get the same error. Hello @TheMikeyR :) |
darknet.py文件中,我最后这样改写的
...
所以没有再用到make_boxes...这几个函数,现在报错是这样的: |
It seems like the python wrapper haven't been updated with yolov3 implementation, it still works with yolov2. When I run it, it doesn't recognize the new layer types.
|
Hello @lwplw, I think the "double free" error is caused by the "free_image(im)" in the last of your "detect_np" function. Since the data of image here is managed by numpy, there is no need to free it as the original function does, or you will get the “double free” error. I deleted this "free_image(im)" and got a correct output. But I'm not sure if this will cause a memory leak. (一句话来说,我觉得是那个 free_image 重复释放了内存,导致你那个错误,我这删掉没报错) |
Thank you very much! It bothered me for few hours. |
finally ,HOW TO SOLVE????_-------->>>>makebox error |
file: examples/detector-scipy-opencv.py
Error Messgae
The text was updated successfully, but these errors were encountered: