Wenbo Yang

Results 14 comments of Wenbo Yang

@gangm I encountered the same problem. More info: 1. Built all with `armeabi-v7a-hard with NEON`, got wrong result just as your case. 2. Built others with `armeabi-v7a with NEON`, change...

完全开源的啊,你如果想增加指标,就改下面这个文件就好了: https://github.com/solrex/es-open-falcon/blob/master/bin/esmetrics.py

@ungaro Temporary workaround: pod 'TrezorCrypto', :podspec => 'https://github.com/solrex/trezor-crypto-ios/raw/master/TrezorCrypto.podspec'

@Qvodman 这种情况下先检查你的网络配置是不是有问题。比如是不是没有去掉一些训练用的层,或者多余的数据维度(mini batch要改为单条)。

@Qvodman 我在 JNI 里实现的 CaffeMobile 是一个单例,其实不支持多线程的,不知道你注意到没有? 这个错误本身看起来是网络配置有问题,某一层的维度太多导致超过限制。但我不确定跟你多线程使用有关还是跟你配置有关。 因为神经网络经常能把 CPU 跑满,或者把 CPU 跑到降频,所以多线程能不能解决问题我也比较怀疑。

@Qvodman 从你的描述来看,我只能判断出可能是网络配置有问题。但是信息实在不足以进一步判断了,你可以在 C++ 代码里再多加一些日志语句来看看,CaffeMobile 的 C++ 代码是适配到 Android logcat 的,只是需要你自己去猜测哪里可能出问题了。

@BenjaminLiCN In [ViewController.mm](https://github.com/solrex/caffe-mobile/blob/master/examples/ios/simple/CaffeSimple/) , you will find 2 lines of : `NSString *test_file_path = FilePathForResourceName(@"test_image", @"jpg");` One for view, one for predict.

@youngliuxx 释放内存就是 delete Net 对象。安卓的话 JNI 接口我没有封装,iOS 就很简单了,能直接释放。

@youngliuxx 我来研究一下,以前没尝试这么做过。

@lei9wang Sorry, you cannot do that. The caffe source code in this project is modified, a lot. You can only add some self-defined layers, and fix the compiling errors yourself.