KleinYuan / Caffe2-iOS

Caffe2 on iOS Real-time Demo. Test with Your Own Model and Photos.
MIT License
227 stars 45 forks source link

Memory not released issue #2

Closed KleinYuan closed 7 years ago

KleinYuan commented 7 years ago

There's a know issue that processing each image will not release memory correctly. Thus, the live classification feature may crash after a while. Working on it now.

KleinYuan commented 7 years ago

Resolved (Just initialize Caffe2 object for once and every object is around 50MB large) and here's the performance on an iPhone 7 plus:

memorycomsuption