Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading multiple CNNs #67

Open
nmfelemban opened this issue Dec 27, 2018 · 0 comments
Open

Loading multiple CNNs #67

nmfelemban opened this issue Dec 27, 2018 · 0 comments

Comments

@nmfelemban
Copy link

I am trying to build an app that uses two different CNNs, (we would need to interchange between the two cnns).

I tried defining two instances of the CaffeMoblie class (say cnn1, cnn2), if I call on cnn1.predictImage(), it will use cnn2 (the second one loaded ) .

Is there a way to use two CNNs in the same activity, and only load them once (I don't want the overhead of loading the model every time I need to process an image), I would like to load both models at the beginning, and then use them.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant