MirrorYuChen / mnn_example

alibaba MNN, mobilenet classifier, centerface detecter, ultraface detecter, pfld landmarker and zqlandmarker, mobilefacenet
MIT License
202 stars 61 forks source link

how to config if i have two models #32

Closed Liujingxiu23 closed 3 years ago

Liujingxiu23 commented 3 years ago

For help! Your app seems more complicated than mine. My subject is not face dection, I only have two mnn models, somethings like encoder and decoder. How can I do config of mnn models to improve the speed and avoid memory leak? The two models is runned sequentially, first encoder and tehn decoder

MirrorYuChen commented 3 years ago

All right! You can refer to the part of the content of the LoadModel interface. At the same time, the ducument of the mnn also work!