-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
读Resnet.prototxt错误 #11
Comments
@ChangyeGuo 把 prototxt 文件作为附件上传上来吧,我试着看下。 |
@solrex 附件没法上传,我分享到了百度网盘了。麻烦看一下。 |
@ChangyeGuo 抱歉,我当初只关注了 layer_factory.cpp 里列出的 layer,遗漏了一些 resnet 依赖的 layer。我已补充这些 layer 326fe37 ,自测是没问题了,麻烦更新代码再试一下。 |
@solrex resnet已经能读取,谢谢。 CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 问题分析:初步分析应该是build-protobuf-3.1.0.sh的136行: |
build-protobuf-3.1.0.sh脚本里面function build-Android 里面缺少了个cd ..造成cmake路径不对,还有这个软连接不对,文件夹名字错了,正确的是ln -sf ../../Linux-protobuf/bin/protoc protoc |
Fixed in ca1ac2c |
你好,请教一个问题。我在读Resnet.prototxt时发生了错误。我编的是arm-v7a的so,另外采用新版本的工具转换成binayproto也没有成功。目前读cifar10.prototxt可以,但是读resnet不行。在pc上读同样的模型都没有问题,只要放在android上就不行。请问这是什么原因?
错误定位:
net_.reset(new Net(param_file, caffe::TEST));
这一句跑不过。
进net构造函数中,定位到是最后一个函数Init(param);中crash。目前暂未找到问题在哪。
The text was updated successfully, but these errors were encountered: