solrex / caffe-mobile

Optimized (for size and speed) Caffe lib for iOS and Android with out-of-the-box demo APP.
Other
317 stars 121 forks source link

protocbuf.a is to large #8

Closed xqpinitial closed 7 years ago

xqpinitial commented 7 years ago

非常感谢您提供demo,前几天在您的提示simulation和真机的区别下我做好的demo,本来以为ok啦,却发现由于protobuf生成的.a太大,想在工程的基础上,分理处初始化函数,分类函数,全局变量_net,生成动态链接库,不知道是否可以,谢谢

solrex commented 7 years ago

@xqpinitial It won't affect the final app size.

xqpinitial commented 7 years ago

我生成的app中,把所有用到的.a都打包进去啦,到了170+M。。。

xqpinitial commented 7 years ago

如果可以我是否可以给您发邮件,谢谢

xqpinitial commented 7 years ago

screenshot from 2017-04-19 17 02 43 iPhone版本下,生成的protobuf太大

solrex commented 7 years ago

@xqpinitial I don't think copying *.as to ipa is needed. But I'm not professional on that. You should consult some experts on that topic.

xqpinitial commented 7 years ago

thanks for you answer,i will try it