Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Deep Learning for Image Recognition in Python

13,784 views

Published on

"Deep Learning for Image Recognition in Python" at PyCon JP 2014
https://pycon.jp/2014/schedule/presentation/20/

Youtube
http://youtu.be/JWGXQhVHTTA

Keywords
Machine Learning, Object Recognition, Face Recognition, Artificial Intelligence (AI)
ディープラーニング, 深層学習, 機械学習, 画像認識, 物体認識, 顔認識, 人工知能

Published in: Technology

Deep Learning for Image Recognition in Python

  1. 1. Deep Learning for Image Recognition in Python x Hideki Tanaka PyCon JP 2014
  2. 2. PyCon䛳䛶ఱ?
  3. 3. PyCon䛿ྜ䝁䞁䛷䛿䛒䜚䜎䛫䜣 #pyconjp
  4. 4. @atelierhide
  5. 5. @atelierhide = ?
  6. 6. @atelierhide = Lens Designer
  7. 7. @atelierhide = Photographer
  8. 8. @atelierhide = Pythonista
  9. 9. @atelierhide = Kaggler
  10. 10. ᮏ᪥䛾䛚㢟䛿…
  11. 11. Image Recognition x Deep Learning
  12. 12. ⏬ീㄆ㆑ x ῝ᒙᏛ⩦
  13. 13. ேཱྀ▱⬟(AI)䛾䛚ヰ䛷䛩
  14. 14. ேཱྀ▱⬟(AI)䛸ゝ䛘䜀…
  15. 15. Pepperྩ
  16. 16. 䛣䛾䝉䝑䝅䝵䞁䛷ⓙ䛥䜣䛸⪃䛘䛯䛔 1 䛯䛳䛯䜂䛸䛴䛾䛣䛸
  17. 17. Pepperྩ䛻ఱ䜢䛧䛶ḧ䛧䛔䛛?
  18. 18. Agenda 1. Image Recognition䛳䛶ఱ? 2. Deep Learning䛳䛶ఱ? 3. Pepperྩ䛻䛧䛶ḧ䛧䛔䛣䛸
  19. 19. Image Recognition䛳䛶ఱ?
  20. 20. Dog or Cat?
  21. 21. 䛹䛖䜔䛳䛶ㄆ㆑䛩䜛?
  22. 22. ⏬ീ䛛䜙≉ᚩ㔞䜢ᢳฟ ᶵᲔᏛ⩦ (scikit-learn)
  23. 23. ୍⯡ⓗ䛺≉ᚩ㔞 SURF Haar-like features Python䝷䜲䝤䝷䝸 OpenCV Mahotas
  24. 24. Training set Test set : 25,000 images : 12,500 images
  25. 25. Accuracy 60% with Haar-like features
  26. 26. 䛧䛛䛧䚸䝇䝁䜰䝪䞊䝗䛷䛿…
  27. 27. Accuracy >95% with Deep Learning
  28. 28. 98.5%!?
  29. 29. Deep Learning䛩䛢䛗䟿
  30. 30. Deep Learning䛳䛶ఱ?
  31. 31. ከᒙ䝙䝳䞊䝷䝹䝛䝑䝖䝽䞊䜽 input output hidden × n
  32. 32. Core Language Binding Theano/Pylearn2 cuda-convnet OverFeat Caffe DeCAF Python C++ Lua C++ Python - Python Python Python - Pre-trained Networks Framework × × 䕿 䕿 䕿
  33. 33. Pre-trained Networks ImageNet Large Scale Visual Recognition Challenge 䛾䛯䜑䛻Deep Learning䛾◊✲⪅䛜సᡂ䛧䛯䝛䝑䝖䝽䞊䜽 䠄Deep Convolutional Neural Networks䠅
  34. 34. Pre-trained Networks䜢⏝䛔䛶≉ᚩ㔞䜢ᢳฟ (DeCAF) ᶵᲔᏛ⩦ (scikit-learn)
  35. 35. Accuracy 96% with Deep Learning
  36. 36. 䛣䛣䜎䛷䛾ヰ䜢䜎䛸䜑䜛䛸…
  37. 37. Deep Learning䛷ฟ᮶䜛䛣䛸 㧗⢭ᗘ䛾⏬ീㄆ㆑ Pepperྩ䛿ぢ䛯䜒䛾䜢䜋䜌㛫㐪䛔䛺䛟ㄆ㆑
  38. 38. 䛷䚸Pepperྩ䛻ఱ䜢䛧䛶ḧ䛧䛔䛛?
  39. 39. Pepperྩ䛜䜽䝸䜶䜲䝔䜱䝤䛺௙஦䜢䛩䜛 ♫఍ⓗ䛺䜲䞁䝟䜽䝖
  40. 40. Pepperྩ䝥䝻䝕䝳䞊䝇䛾䜰䜲䝗䝹䜾䝹䞊䝥
  41. 41. ୡ⏺ึ! ேཱྀ▱⬟䛻䜘䜛䜰䜲䝗䝹䜾䝹䞊䝥!
  42. 42. 䛭䛾ྡ䜒…
  43. 43. JKC48
  44. 44. JKC48 䠄䛨䜣䛣䛖䛱䛾䛖48䠅
  45. 45. JKC48䛾స䜚᪉
  46. 46. 1. 䜰䜲䝗䝹䛾㢦⏬ീ䜢㞟䜑䜛 2. 䜰䜲䝗䝹௨እ䛾㢦⏬ീ䜢㞟䜑䜛 3. Deep Learning䛷ㄆ㆑ჾ䜢స䜛 4. Pepperྩ䛻ᶵ⬟䜢ᦚ㍕䛩䜛 5. Pepperྩ䛜䝯䞁䝞䞊䜢䝇䜹䜴䝖䛩䜛
  47. 47. 䛣䛣䛛䜙䛾䝇䝷䜲䝗䛿఍ሙ䛻䛰䛡බ㛤䛧䜎䛩…
  48. 48. 1. 䜰䜲䝗䝹䛾㢦⏬ീ䜢㞟䜑䜛 2. 䜰䜲䝗䝹௨እ䛾㢦⏬ീ䜢㞟䜑䜛 3. Deep Learning䛷ㄆ㆑ჾ䜢స䜛 4. Pepperྩ䛻ᶵ⬟䜢ᦚ㍕䛩䜛 5. Pepperྩ䛜䝯䞁䝞䞊䜢䝇䜹䜴䝖䛩䜛
  49. 49. Demo
  50. 50. JKC48䛾䝯䞁䝞䞊ເ㞟୰䛷䛩…
  51. 51. 㛤Ⓨ⎔ቃ Ubuntu 12.04 pyenv + miniconda–3.4.2 (Python 2.7.8) Flask, OpenCV, DeCAF
  52. 52. 䛤ពぢ䚸䛤ឤ᝿䚸䜰䜲䝕䜰䜢䛚ᚅ䛱䛧䛶䛚䜚䜎䛩 #pyconjp
  53. 53. ᮏ᪥䛾ෆᐜ䛿௨ୖ䛷䛩䛜…
  54. 54. One More Thing…
  55. 55. ᫂᪥䛾䝫䝇䝍䞊䝉䝑䝅䝵䞁䛻ཧຍ䛧䜎䛩!
  56. 56. 䝔䞊䝬䛿…
  57. 57. ⏬ീㄆ㆑䛻ᇶ䛵䛟ኴ㝧⣔ᝨᫍ⩌䛾ᵓ㐀≀᥈⣴
  58. 58. ➲ᑿ࿴ᏹ䚷ᒣᮏග✑䚷ዉⰋ㒊㝯⾜䚷㧗ᶫඞᚨ䚷᳃⏣┤ᶞ ⏣୰⚽ᶞ䚷ఀ⸨♸┿䚷ᅧྜྷ㞞ே䚷ⱑᮌ㱟䚷ὸ㔝᠇┬ ఍⏣ᐥḟ㑻䚷఍⏣⿱Ꮚ䚷ᰩཎ୍㈗
  59. 59. The esperanto generator torajiro aida 11:30- Media Hall
  60. 60. 䛒䜚䛜䛸䛖䛤䛦䛔䜎䛧䛯!

×