This time I fixed one small bug in the app of “TF Detect” so the object tracking function could work. The project is compiled by “cmake“with NDK Archives in this version. You can download the new “apk files here: Tensorflow_Demo_Debug.apk.
“Once the app is installed it can be started via the “TF Classify”, “TF Detect”, “TF Stylize”, and “TF Speech” icons, which have the orange TensorFlow logo as their icon.
Python is a great general-purpose programming language on its own, but with the help of a few popular libraries (Numpy, SciPy, Matplotlib, TensorFlow) it becomes a powerful environment for scientific computing and data analysis.
I start sharing my notebooks on learning Python and TensorFlow, here is my GitHub repository: Data_Science_Python.
You could download my compiled Apk file here and install on your android device (>Android 7.0) (22-May-2018).
Update: 25-May-2018, fixed the bug of object tracking function in TF Detect. PS: While running the activities, pressing the volume keys on your device will
toggle debug visualizations on/off, rendering additional info to the screen that
may be useful for development purposes.
In the last post, I just tried the TensorFlow for object classification (TF Classify). This time I installed all four demos of the TensorFlow Mobile for Android according to this tutorial: TensorFlow Lite Demo for Android. They are awesome 😛
If you like Google’s open-source machine learning framework, TensorFlow, do not miss this “TensorFlow For Poets“. I went through the tutorial this afternoon and found it is super Awesome. See the photos below, I first tested it on the coffee mug from my Intern company, Aurecon Group. I used the virtual device, Nexus 5X, from Android Studio 3.0.1 on MacBook Air 11′ (Do not do this unless you have enough SSD 😛 ).
Then, I successfully installed the compiled app (TF_Classify) on my XIAO MI – 4C (MIUI 9.0 – Android 7.0) and tested it on my coffee mug at home.
You can download and install it on your own Android devices from the following link:
I am using the song above to thank you all for your help and support in the past. You know that I have spent the last three years (2014-2017) in pursuing my Ph.D. degree in Computer Science and got a plan to be graduated in 2018.
The original program is written in Python, and uses [PyTorch], [SciPy]. A GPU is not necessary but can provide a significant speedup especially for training a new model. Regular sized images can be styled on a laptop or desktop using saved models.
More details about the algorithm could be found in the following papers:
A few days ago, I updated my Windows 10 to version 1709 and found out that Microsoft added the GPU monitor in the Task Manager which I thought is awesome for ML developers and researchers.
Here is a screen capture of the official MNIST codes running Tensorflow-GPU on my Desktop. It is clear to see that the GTX 960 uses about 3.5GB memory out of 4.0GB to train the ConvNets, which is much faster than the CPU computing.