jeffxtang / yolov2_tf_ios Goto Github PK
View Code? Open in Web Editor NEWObject Detection with YOLOv2 and TensorFlow on iOS
Object Detection with YOLOv2 and TensorFlow on iOS
I followed your instructions to compile TensorFlow for iOS and then put your project into the example folder.
When I compile your project now, I get this error:
This program requires version 3.2.0 of the Protocol Buffer runtime library, but the installed version is 3.1.0.
Do you know the output of your .pb file from quantization is quantized or float?
Is it possible for you to share speed and accuracy measurements of the yolo on ios? I am trying to find a optimal solution for tracking, detecting on mobile phone. It seems very hard to make a real time solution.
The xcodeproject references a file that does not exist and is not used within the project.
But this fie is missing which causes a compile error. The reference should probably be removed therefore:
imagenet_comp_graph_label_strings
I followed the installation steps, but I get a runtime exception when running on the device:
[libprotobuf FATAL /Volumes/build-storage/build/master_iOS-mac/opencv/3rdparty/protobuf/src/google/protobuf/stubs/common.cc:67] This program requires version 3.2.0 of the Protocol Buffer runtime library, but the installed version is 3.1.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/Users/Peter/Downloads/tensorflow-1.2.0/tensorflow/contrib/makefile/gen/proto/tensorflow/core/util/test_log.pb.cc".) libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: This program requires version 3.2.0 of the Protocol Buffer runtime library, but the installed version is 3.1.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/Users/Peter/Downloads/tensorflow-1.2.0/tensorflow/contrib/makefile/gen/proto/tensorflow/core/util/test_log.pb.cc".)
I tried building libprotobuf 3.2 from source but then I have a similar issue that says the library was build against 3.1.
Help would be appreciated, could you perhaps share your project?
I have no quantization folder inside bazel-bin/tensorflow/tools. However, I have it inside tensorflow-master/tensorflow/tools/quantization. I just removed the bazel-bin and simply put tensorflow/tools/quantization/quantize_graph and it tells me can not find the directory or file.
Do you know why it happen.
How am I able to get a quantization folder inside bazel-bin?
You are using quantize_graph tool to quantize the model.
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/lite
On this website, they are suggesting freeze the graph using .pb and .ckpt, then convert it to .tflite.
I think freeze_graph tool can also generate a quantized model.
Do you know what is the difference?
Where is the .ckpt file for darkflow?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.