Closed sjtuzbk closed 3 years ago
Hi @sjtuzbk Every new inference detected and batchDetected are cleaned, while classesNames never changes. The only one is stats, that saves a double for each inference to track the performance. That is true, it should be cleaned time to times.
Closing for now, feel free to reopen.
I noticed that the DetectionNN class has some member variables of vector class:
Therefore, as the program runs, the memory occupied by vectors will increase. If my program runs for a long time, the memory will eventually be insufficient. So how to release the memory?
Looking forward to your reply!