Comments (3)
@liu6381810 Hey, when you drag those model in, make sure you check the target Membership
include this app. Also, if it's build-in, you may wanna add this in here with same naming convention.
from caffe2-ios.
@KleinYuan Thanks for your reply, I have drag my model in the target and build successfully. But when I add statement to the function classifier
in staticDetectorVC.swift like this var caffe = try! Caffe2(initNetNamed: "squeezeNetInit", predictNetNamed: "squeezeNetPredict")
it runs well, and if let result = caffe.prediction(regarding: resizedImage!)
get desired result of dim 1000, but when I changed the squeezeNet to tinyYolo ,the result dim is very large, and all the value is non, and when I use my own model, it just get an error Thread 1: signal SIGABRT
at _predictor = new caffe2::Predictor(_initNet, _predictNet);
so how can I fix it? I would appreciate it if you can help me.
from caffe2-ios.
@liu6381810 ok, I guess you mentioned multiple issues.
But to the point of Thread 1: signal SIGABRT
, I believe it's because of the google protocol memory size limit.
I guess your own model is larger than 64MB right?
Check this
For the issue of Yolo Output Nan
, it's related to this issue
So, so far in this repo, I only output whatever the results give. To actually build a Yolo on Caffe2 project, we need some wrapper like this to actually visualize the bounding box.
I will try to add this soon.
from caffe2-ios.
Related Issues (20)
- The performance on the time consumption HOT 17
- #include "caffe2/proto/caffe2.pb.h" not found HOT 7
- Output for YOLO and LeNet HOT 2
- How to change the default compute mode from eigen to nnpack? HOT 6
- error: **/src/caffe2-ios/caffe2-ios/tinyYoloPredict.pb: No such file or directory HOT 2
- Compilation error for release HOT 2
- I got a issues when build the target HOT 2
- Would this work for ios11? HOT 3
- Compile Error : linker command failed with exit code 1 HOT 3
- Apple Mach-O Linker Error HOT 4
- 'caffe2/core/predictor.h' file not found HOT 1
- #include "caffe2/proto/caffe2.pb.h" not found (version 2) HOT 1
- Apple Mach-O Linker Error
- How to build an image dataset for use in iOS HOT 3
- Build caffe2 failed when click the setup.sh
- Undefined symbols for architechure x86_64
- Use pytorch generated caffe2 iOS build
- Did you tested the performance of the model? Such as the time cost of the predict step? HOT 5
- Why is openCV used in here? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe2-ios.