Comments (9)
Just so people know, there is a partial port made here:
https://github.com/vonholst/SSDMobileNet_CoreML
The end of the network output has been re-implemented in swift code.
from forge.
There is an example project using TensorFlow 1.4.0 that runs the following models:
ssd_mobilenet_v1_coco, ssd_inception_v2_coco, faster_rcnn_resnet101_coco
https://github.com/JieHe96/iOS_Tensorflow_ObjectDetection_Example
There are some issues currently, I needed to recompile the protbuff headers with protoc version 3.4.0.
Get the correct 3.4.0 binary for your system here:
https://github.com/google/protobuf/releases
Get the original .proto definition file here:
https://github.com/tensorflow/models/blob/master/research/object_detection/protos/string_int_label_map.proto
Then run something like:
./protoc --cpp_out=./ ./string_int_label_map.proto
Make sure to use the protoc binary for 3.4.0 that you downloaded above. Then replace the files in the ex_SSD_Mobilenet_TF folder:
string_int_label_map.pb.cc
string_int_label_map.pb.h
I haven't yet hooked this up to video input yet but I will be trying shortly and I might commit and push some changes to the repo.
from forge.
@madhavajay Recommend trying https://github.com/tf-coreml/tf-coreml instead of. It's support using GPU on ios device so the performance would be better than.
from forge.
@madhavajay cool I have not had oppotinity to check it out yet. If you did tried it please highlight something
Thanks 👍
from forge.
I don't know if CoreML supports it. It looks your model was made using a custom version of Caffe, while coremltools only supports the original version of Caffe.
I've implemented (the TensorFlow version of) MobileNet+SSD in Metal for a client and that works fine, but it did require a few custom Metal kernels.
from forge.
So is it possible to convert my model to metal ?
from forge.
Yes, that should be possible but it might involve writing custom compute kernels.
from forge.
Yes, I just saw that and will give it a try but wanted to provide a working solution (even if its slow) that I found in case someone else finds it useful. Seems there are few and far between solutions for a lot of this stuff at the moment.
Should we all be looking at NASnet now though?
https://research.googleblog.com/2017/11/automl-for-large-scale-image.html
https://github.com/tensorflow/models/tree/master/research/slim
Anyone got a working implementation for mobile?
from forge.
Yes, it works straight from the master branch on load in xcode, just change your Developer team. 👍
from forge.
Related Issues (20)
- Are you going to develop Deconvolution layers?) HOT 2
- EXC_BAD_ACCESS on release executions HOT 4
- How to implement element wise layer in forge HOT 2
- How do I only use 1 or 2 classes for the YOLO example? HOT 1
- implant Yolo to ARKit HOT 3
- Greate job!
- code signing blocked mmap() HOT 1
- Forge is not support ios 11.3 HOT 4
- Error: framework not found Forge for architecture arm64
- Upload to appstore error
- Update ios version and xcode version, can not run any more. HOT 2
- Custom TinyYOLO doesn't work HOT 2
- update to Xcode 9.4 HOT 3
- mhh, not running HOT 1
- Reshape Layer HOT 1
- Error: the destination image texture is temporary and has a readCount of 0. HOT 2
- Add layer HOT 2
- Regarding offset for picking values for bounding box values HOT 6
- Results of MPSCNNConvlotion HOT 6
- [question] TensorFlow Lite HOT 4
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 forge.