Comments (5)
The input size is 416x416 because it gets scaled down 5 times to be 13x13. If you set the input to 256x256 and scale it down 5 times the final grid becomes 8x8, and so you'll have to adjust the code that computes the bounding boxes for that too. (But I'm not sure how well this will actually work...)
from yolo-coreml-mpsnngraph.
of course accuracy will become much worse but it should process faster, thanks for the answer I'll try to change grid values
could you also please tell me on which devices did you tested this project and how fast it works, iPhone 7, 8 or mb even X?
I had time to test only on old iPad mini 2 (2 core, 1.3 GHz) :)
from yolo-coreml-mpsnngraph.
also would be great to implement Tensorflow object model (ssd_mobilenet_v1_coco) for CoreMl
https://github.com/tensorflow/models/tree/master/research/object_detection
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md
There is already a project to run Tensorflow object detection model on iOS, but it works with Tensorflow (and it's Objective-C)
https://github.com/JieHe96/iOS_Tensorflow_ObjectDetection_Example
from yolo-coreml-mpsnngraph.
I think this gets about 10 FPS on the iPhone 7. I haven't tried on 8 or X. However, I did implement MobileNet+SSD (for a client, so I cannot share the code) and it gets 30 FPS on iPhone 7. So it's a lot faster than Tiny YOLO, and I think it's similar in accuracy.
from yolo-coreml-mpsnngraph.
wow results sounds good:)
yeah I understand you can't share it
thanks for answers
from yolo-coreml-mpsnngraph.
Related Issues (20)
- Why is the feature set 255x13x13 ? HOT 3
- Unable to desearilize object Validation error HOT 2
- it delays HOT 1
- Performance HOT 9
- scaleFit instead of scaleFill HOT 1
- TypeError: __init__() got an unexpected keyword argument 'dtype' HOT 3
- Performance decrease HOT 4
- UIview and adding shapes HOT 3
- error when run " python coreml.py" HOT 5
- Shape of the converted model is wrong HOT 11
- Speed on A11 vs A12 HOT 1
- AttributeError: module 'tensorflow' has no attribute 'concat_v2' HOT 1
- MLMultiArray datatype Flot32 issue HOT 9
- __init__() got an unexpected keyword argument 'dtype' HOT 1
- Converting this repo to support Yolov5 HOT 1
- Error trying to convert model to CoreML HOT 4
- Error converting from h5 to Core ML HOT 1
- Cannot find 'YOLOv3' in scope HOT 1
- assert(features[0].count == 255 * 13 * 13) crash HOT 1
- Get multiple outputs from MPSNNGraph HOT 1
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 yolo-coreml-mpsnngraph.