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

reach max boxes #283

Open
mochechan opened this issue Mar 17, 2022 · 1 comment
Open

reach max boxes #283

mochechan opened this issue Mar 17, 2022 · 1 comment

Comments

@mochechan
Copy link

mochechan commented Mar 17, 2022

My detecting program uses tkdnn with yolov4 model, and it is good for many pictures.
One day, my detecting program crashes at "reach max boxes".

reach max boxes
/home/a/tkDNN/src/Yolo.cpp:171
Aborting...
[Thread 0x7f96d0dc60 (LWP 6878) exited]
[Thread 0x7f5b7fcc60 (LWP 6887) exited]
[Thread 0x7f68c98c60 (LWP 6885) exited]
[Thread 0x7f69499c60 (LWP 6884) exited]
[Thread 0x7f9df8b010 (LWP 6875) exited]
[Thread 0x7f942ddc60 (LWP 7454) exited]
[Thread 0x7f95703c60 (LWP 7453) exited]
[Thread 0x7f5affbc60 (LWP 7457) exited]
[Thread 0x7f68497c60 (LWP 7456) exited]
[Thread 0x7f907c5c60 (LWP 7455) exited]
[Thread 0x7f917c7c60 (LWP 6882) exited]
[Thread 0x7f90fc6c60 (LWP 6883) exited]
[Thread 0x7f91fc8c60 (LWP 6881) exited]
[Inferior 1 (process 6875) exited with code 01]
No stack.

I follow the source code to know the reason being that "MAX_DETECTIONS" should be too small.
The strange is that MAX_DETECTIONS is already 8192*2.
Is it a good solution to enlarge MAX_DETECTIONS?
Is it producing some side-effect to enlarge MAX_DETECTIONS?
Any other good advice?

ps. "try catch" cannot ignore this crash.

@gewenpulan
Copy link

I also have same problem.
In my case, the camera watching same place which object on video almost same, and 99%image predict good,but sometimes the model return manymany rectance like [760, 709, 760, 709] [1000, 720, 1000, 720][-5368709120, -3019898880, -5368709120, -3019898880]
and i dont know why

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