reach max boxes #283
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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".
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.
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