You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: