deep learning tutorial

29
Deep learning Tutorial with Caffe Haosdent Huang 08/27/2015

Upload: haosdent-huang

Post on 20-Feb-2017

619 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Deep learning tutorial

Deep learning Tutorial with Caffe

Haosdent Huang 08/27/2015

Page 2: Deep learning tutorial

Why Deep Learning

Page 3: Deep learning tutorial

Why Deep Learning

https://www.youtube.com/watch?v=V1eYniJ0Rnk

Play games!

Page 4: Deep learning tutorial

Compositional Models and learn end-to-end

Hierarchy of Representations - vision: pixel, part, object - text: character, word, sentence - speech: audio, word - program: statement, function, module

Page 5: Deep learning tutorial

Compositional Models and learn end-to-end

Back-propagation jointly learnsall of the model parameters to optimize the output for the task

Page 6: Deep learning tutorial

xkcd: Tasks

Page 7: Deep learning tutorial

Use Caffe !

How to use deep learning implement these tasks ?

Page 8: Deep learning tutorial

Caffe

Page 9: Deep learning tutorial

Demo: mnist dataset

Classifying Handwritten images

Page 10: Deep learning tutorial

The models use when train mnist

layer { name: "pool1" type: "Pooling" bottom: "conv1" top: "pool1" pooling_param { pool: MAX kernel_size: 2 stride: 2 } }

Page 11: Deep learning tutorial

The models use when train mnist

Page 12: Deep learning tutorial

Train !

caffe train xxx.prototxt

Page 13: Deep learning tutorial

Model Zoo

• open collection of deep models to share innovation

• help disseminate and reproduce research

• bundled tools for loading and publishing models

Page 15: Deep learning tutorial

Open framework, models, and worked examples for deep learning - Pure C++ / CUDA architecture for deep learning - Command line, Python, MATLAB interfaces - Fast, well-tested code - Tools, reference models, demos, and recipes - Seamless switch between CPU and GPU

Prototype Train Deploy

Prototype Train Deploy

Page 16: Deep learning tutorial

demo.caffe.berkeleyvision.org

Page 17: Deep learning tutorial

The models use when train mnist

Page 18: Deep learning tutorial

The models use when train mnist

Page 19: Deep learning tutorial

The models use when train mnistFeature extraction using convolution

Page 20: Deep learning tutorial

The models use when train mnist

Feature extraction using convolution

Page 21: Deep learning tutorial

The models use when train mnistPooling(aggregation)

Page 22: Deep learning tutorial

The models use when train mnist

Page 23: Deep learning tutorial

Deep dream

https://github.com/google/deepdream/blob/master/dream.ipynb

Page 24: Deep learning tutorial

Deep dream

Page 25: Deep learning tutorial

Deep dream

Page 26: Deep learning tutorial

Deep dream

Page 27: Deep learning tutorial
Page 28: Deep learning tutorial

Deep dream

Page 29: Deep learning tutorial

Thank you