After confirming no leaks in the segmentation code I reran the clustering unit test. Even over 1000 frames, this clustering code showed a significant leak: (The black line is a linear model fitted to the data.) The leak was caused by the way I was replacing percepUnit instances with newly merged percepUnit instances. The solution […]
↧