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
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
Now once I generate the InitNet.pb and PredictNet.pb files using mobile exporter, the model is working perfectly fine while I run inference on server side.
But once I integrate the model on the android application it gets stuck in the predictor->run.
One interesting observation - If the model was changed by removing few of the layers it is working perfectly fine on android as well.
However there are no operator difference between the two models. So logically the first model should have worked fine.
Does anyone have any idea how to tackle this problem? Because I need the first model to work on android.
P.S - If anyone needs to have a look at the model then I can share the .pb files if needed
The text was updated successfully, but these errors were encountered:
pradeephike
changed the title
Caffe2 Model not working on android (Client). The model is working perfectly fine on Server
[Caffe2] Caffe2 Model not working on android (Client). The model is working perfectly fine on Server
Jul 2, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am working on creating a caffe2 model for style transfer and running the model on android.
Below is the net I am using for the model generation :
` conv1_1 = brew.conv(model, data, 'conv1_1', 3, 32, 9, stride=1,pad=9//2,no_bias=1,weight_init=('GaussianFill',{'mean':0.0, 'std':1e-2}))
inst1_1 = brew.instance_norm(model,conv1_1,'inst1_1',32,epsilon=0.001)
relu1_1 = brew.relu(model, inst1_1, 'relu1_1')
Now once I generate the InitNet.pb and PredictNet.pb files using mobile exporter, the model is working perfectly fine while I run inference on server side.
But once I integrate the model on the android application it gets stuck in the predictor->run.
One interesting observation - If the model was changed by removing few of the layers it is working perfectly fine on android as well.
However there are no operator difference between the two models. So logically the first model should have worked fine.
Does anyone have any idea how to tackle this problem? Because I need the first model to work on android.
P.S - If anyone needs to have a look at the model then I can share the .pb files if needed
The text was updated successfully, but these errors were encountered: