load_param and load_model functions are causing memory leaks #3606
radhigithub55
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am loading models using these two methods of ncnn and using it in my swift project, its causing lot of memory leaks.
// load network structure from external memory
// memory pointer must be 32-bit aligned
// return bytes consumed
int load_param(const unsigned char* mem);
Beta Was this translation helpful? Give feedback.
All reactions