-
Notifications
You must be signed in to change notification settings - Fork 136
Can you try another model? #17
Comments
I tried all from caffe 1.0 to caffe2 officially ported models from here and they all crashed on my Sony XPERIA Z2 (Android 6.0). But SqueezeNet at least output some predictions for its detected objects for a few seconds (then crashes) while all the other models just showed me a "Loading ..." text output for a few seconds (before crashing). |
@ThomasGueldner I use model translator tool to translate caffe model to caffe2 format. It works. |
Thanks for the hint! |
I tried the translator tool on AlexNet and GoogleNet, it doesnt work still. I need some guidance. @ThomasGueldner Does it work for you? |
@ThomasGueldner , @jazzseow @machoji I tried googlenet in https://github.com/caffe2/models, just display "loading" forever |
Hi @machoji, 03-15 08:50:04.035 16251 16264 E F8DEMO : Attempting to load protobuf netdefs... 03-15 10:28:04.956 17081 17094 E F8DEMO : Attempting to load protobuf netdefs... |
I use the GoogleNet from https://github.com/caffe2/models/tree/master/bvlc_googlenet: 03-15 05:32:58.714 8443 8456 E F8DEMO : Attempting to load protobuf netdefs... Actually my alexnet model can be parsing and initialization by caffe2 in the ubuntu. So I think it's model too big lead to crash |
Hi, I encounter the same problem about running googlenet (download from https://github.com/caffe2/models/tree/master/bvlc_googlenet) on Android phone. |
Update: transform the model from caffe to caffe2 again !!! But need to modify the deploy.prototxt of googlenet while performing transformation: The original batch size is 10, so I guess the model in caffe2 might be transformed by this setting |
@northeastsquare @jazzseow @northeastsquare |
To use other models, I suggest to follow the instruction in this use the onnx_caffe2 to transform onnx model to caffe2 rather than other ways. Using the model exported from mobile_exporter in PyTorch example will cause this Android app to crash. |
I changed the model to resnet50 which from "python -m caffe2.python.models.download resnet50". I get len = 6181001 from squeeze, but get len = 128070759 from resnet50. Thx
|
I try Googlenet, but crashed. and could you tell me how to enable log information ? thank for your help
The text was updated successfully, but these errors were encountered: