TensorFlow in Context
Jiqiong QIU
1
About me
2
(EP 2887275A1: Method and system for determining a color formula)�
TensorFlow in Context
3
Deep Learning
4
1
1 Deep Learning
1.1 What is Deep Learning?
1.2 Difference between academic research and industry application�
5
1.1 What is deep learning
6
Artificial Intelligence
Machine�Learning
Logistic,�Regression, SVM,�Neural Network
Deep Learning
CNN, LSTM,�Neural Turing�Machines
1.1 What is deep learning
7
1.2 Difference between academic research and industry application
8
1.2 Difference between academic research and industry application
9
| Academic Research | Industry Application |
Key Point | Research | Application |
Time Investment | Long term | Short term |
Development Environment | Stand alone | IDE, Compilation tools, Teamwork etc |
Goal | Interest/ publication | Problem solving |
TensorFlow
10
2
2 TensorFlow
2.1 Key features
2.2 Comparison with others deep learning libraries
11
2.1 Key features
12
2.1 Key features
However, TensorFlow is very slow...
13
2.2 Comparison with others deep learning libraries
14
2.2 Comparison with others deep learning libraries
15
Name | Language | OS | GPU | Related Library |
Theano | Python | Win, Lin, Mac | CUDA,Opencl | Lasagne, Keras |
Torch | Lua, C | Lin, IOS, Android | CUDA | |
Caffe | C++, Python, Matlab | Lin, Win, Mac | CUDA, Opencl | |
TensorFlow | Python | Lin, Mac, Android | CUDA | Keras, Skflow |
mxnet | Python, R, Julia | Lin, Windows, Mac | CUDA | |
2.2 Comparison with others deep learning libraries
Why TensorFlow?
16
TensorFlow in Context
17
3
3 TensroFlow in Context
3.1 What is unique about TensorFlow?
3.2 TensorFlow with Data Science Tools
3.3 TensorFlow for Big Data
18
3.1 What is unique about TensorFlow
That would be crazy if it weren't Google
19
3.1 What is unique about TensorFlow
The author list of TensorFlow:
20
3.2 TensorFlow with Data Science Tools
Why we need deep learning in Industry application besides playing Go?
21
3.2 Tensorflow with Data Science Tools
Avoid hand-crafted features
22
3.2 Tensorflow with Data Science Tools
No free lunch:
Deep learning applications are generally applied to massive unstructured data.
23
MNIST 60k
ImageNet 50 million
Yelp Restaurant Photo Classification
230 k
3.2 Tensorflow with Data Science Tools
Most used data science languages:
TensorFlow has an API in Python
24
| Python | R |
Data Manipulation | Pandas | dplyr, data.table |
Data Visualization | Matplotlib, Seaborn | ggplot2, ggvis |
Machine Learning | scikit-learn | caret |
3.2 Tensorflow with Data Science Tools
Deep Learning is hard:
25
3.2 Tensorflow with Data Science Tools
Deep learning library like keras, Skflow (based on TensorFlow) were developed with a focus on enabling fast experimentation.
26
3.3 Tensorflow for Big Data
No free lunch:
Deep learning applications are generally applied to massive unstructured data.
27
MNIST 60k
ImageNet 50 million
Yelp Restaurant Photo Classification
230 k
GPU makes the deep learning training possible
3.3 Tensorflow for Big Data
28
CPU vs GPU
3.3 Tensorflow for Big Data
Training on Multiple-GPU:
29
3.3 Tensorflow for Big Data
30
1 GPU vs multiple-GPU
3.3 Tensorflow for Big Data
In TensorFlow, the supported device types are CPU and GPU. They are represented as strings. For example:
Much earier than others libraries
31
3.3 Tensorflow for Big Data
32
GPU is not enough
3.3 Tensorflow for Big Data
33
Speed
Ease of use
Generality
Runs Everywhere
3.3 Tensorflow for Big Data
34
Distributed Tensor Flow on Spark is published on early 2016
Tensorflow in Context
35
Name | Language | OS | GPU | Related Library |
Theano | Python | Win, Lin, Mac | CUDA,Opencl | Lasagne, Keras |
Torch | Lua, C | Lin, IOS, Android | CUDA | |
Caffe | C++, Python, Matlab | Lin, Win, Mac | CUDA, Opencl | |
Tensorflow | Python | Lin, Mac, Android | CUDA | Keras, Skflow |
mxnet | Python, R, Julia | Lin, Windows, Mac | CUDA | |
Thank you.
36
by Jiqiong QIU�SFEIR - Copyright ©2016
37