SlideShare a Scribd company logo
1 of 24
Everyone can be van Gogh
Introduction to Neural Art
物理三 ηŽ‹ζ˜±ηΏ”
2016. 11. 08
Reference
β€’ Leon A. Gatys, Alexander S. Ecker, Matthias Bethge, A Neural
Algorithm of Artistic Style
β€’ Mark Chang’s slide, http://www.slideshare.net/ckmarkohchang/a-
neural-algorithm-of-artistic-style?next_slideshow=1
Outline
β€’ Few examples of Neural Art
β€’ Introduction to CNN
β€’ Implement Neural Art
β€’ Application
β€’ Conclusion
Paintings of van Gogh
Can we paint like van Gogh? (I’m not 9.2%)
Yes! (Use Convolutional Neural Network)
Ref: Mark Chang’s slide
Neural Network
Partial CNN Process
Image
(Input)
Convolution Max Pooling
CNN– Convolution
0 0 1 1 0 0
0 1 1 1 1 0
1 1 1 1 1 1
1 1 1 1 1 1
0 0 0.5 0.5 0 0
0 0 0.5 0.5 0 0
0 0 1
0 0 1
0 0 1
Filter_2
Number of filters depends on Users !
0 0 1
0 0.5 0
1 0 0
Filter_1
Find pattern
Input image
Filter -- Element wise matrix multiplication
0 0 1 1 0 0
0 1 1 1 1 0
1 1 1 1 1 1
1 1 1 1 1 1
0 0 0.5 0.5 0 0
0 0 0.5 0.5 0 0
0 0 1
0 0.5 0
1 0 0
0 0 1
0 0 1
0 0 1
2.5
CNN -- convolution 0
1
2
3
4
5
6
w0 = 𝐹11
0 1 2 3 4 5
6 7 8 9 10 11
0 0 1 1 0 0
0 1 1 1 1 0
Corresponding Index
2.5
w1 = 𝐹12
w2 = 𝐹13
w6 = 𝐹21
0 0 1 1 0 0
0 1 1 1 1 0
1 1 1 1 1 1
1 1 1 1 1 1
0 0 0.5 0.5 0 0
0 0 0.5 0.5 0 0
0 0 1
0 0.5 0
1 0 0
0 0 1
0 0 1
0 0 1
2.5
CNN – Max Pooling
2.5 2.5 1.5 1.5
2.5 2.5 2.5 1.5
1.5 1.5 2 2
1 1.5 1.75 1.5
2.5 2.5
1.5 2
0 0 1 1 0 0
0 1 1 1 1 0
1 1 1 1 1 1
1 1 1 1 1 1
0 0 0.5 0.5 0 0
0 0 0.5 0.5 0 0
0 0 1
0 0.5 0
1 0 0
Max pooling
2.5
Repeat Convolution + Max pooling
Input Image
Convolution
Max pooling
Convolution
Max pooling
Whole CNN Process
Image Convolution
Max
Pooling
N times
Flatten
Fully
Connected
Neural
Network
Neural Art
Content
Style
Neural Art- Create Content
0.3 0.7 1 0 0.6
0.2 0.8 0.7 0.4 0.4
0.7 0.1 0.2 0.3 0.5
0.8 0 0.3 0.9 0.1
0.5 0.9 0.6 1 0.8
CNN
CNN
Canvas x
Output X
Output P
𝐿 π‘π‘œπ‘›π‘‘π‘’π‘›π‘‘ =
1
2 𝑖,𝑗(𝑋𝑖,𝑗 βˆ’ 𝑃𝑖,𝑗)2
Gradient Descent (Back Propagation)
Photo p
Canvas x: Our paintings
CNN: Already trained by
other people
CNN
Neural Art – Create Style
0.3 0.7 1 0 0.6
0.2 0.8 0.7 0.4 0.4
0.7 0.1 0.2 0.3 0.5
0.8 0 0.3 0.9 0.1
0.5 0.9 0.6 1 0.8
CNN
Canvas x
Output
Output 𝐿 𝑠𝑑𝑦𝑙𝑒 =
1
2 𝑖,𝑗(𝑋𝑖,𝑗 βˆ’ 𝑆𝑖,𝑗)2
Gradient Descent (Back Propagation)
Style s
Gram S
Gram X
G
G
βˆ— πΊπ‘Ÿπ‘Žπ‘šπ‘–,𝑗 = <𝑣𝑖, 𝑣𝑗>
Gram S_00
= <O_s row[0], O_s col[0]>
Update Canvas
β€’ 𝐿 π‘‘π‘œπ‘‘π‘Žπ‘™ = 𝛼𝐿 π‘π‘œπ‘›π‘‘π‘’π‘›π‘‘ + 𝛽𝐿 𝑠𝑑𝑦𝑙𝑒 οƒ  x = x - πœ‚
πœ•πΏ π‘‘π‘œπ‘‘π‘Žπ‘™
πœ•π‘₯
Application -- DeepDream
Ref: Deep Dream
Application -- Prisma
Ref: Prisma
Real time Neural Art
Ref: Fast Style transfer in Tensorflow
Conclusion
β€’ Yeah! Computer can paint by themselves!
β€’ Really? They still need a photo for painting.
Thank You For Your Listening !

More Related Content

Viewers also liked

skripsi
skripsiskripsi
skripsiArasy Oop
Β 
DevOps in Oracle Fusion Book
DevOps in Oracle Fusion BookDevOps in Oracle Fusion Book
DevOps in Oracle Fusion BookVijay Reddy
Β 
E scheduler Mobile
E scheduler MobileE scheduler Mobile
E scheduler MobileVijay Reddy
Β 
Pengaruh islam dalam kebudayaan masa kini (iptek dan media sosial)
Pengaruh islam dalam kebudayaan masa kini (iptek dan media sosial)Pengaruh islam dalam kebudayaan masa kini (iptek dan media sosial)
Pengaruh islam dalam kebudayaan masa kini (iptek dan media sosial)Khairunnisa Nazhifah
Β 
Halal: Antara Tuntutan Agama dan Keuntungan Koperasi
Halal: Antara Tuntutan Agama dan Keuntungan KoperasiHalal: Antara Tuntutan Agama dan Keuntungan Koperasi
Halal: Antara Tuntutan Agama dan Keuntungan KoperasiAbdullaah Jalil
Β 
500’s Demo Day 2016 Series A >> HappyCo
500’s Demo Day 2016 Series A >> HappyCo500’s Demo Day 2016 Series A >> HappyCo
500’s Demo Day 2016 Series A >> HappyCo500 Startups
Β 
500’s Demo Day 2016 Series A >> OwnLocal
500’s Demo Day 2016 Series A >> OwnLocal500’s Demo Day 2016 Series A >> OwnLocal
500’s Demo Day 2016 Series A >> OwnLocal500 Startups
Β 
500’s Demo Day 2016 Series A >> RealtyShares
500’s Demo Day 2016 Series A >> RealtyShares500’s Demo Day 2016 Series A >> RealtyShares
500’s Demo Day 2016 Series A >> RealtyShares500 Startups
Β 
Ppt Ekonomi Koperasi
Ppt Ekonomi KoperasiPpt Ekonomi Koperasi
Ppt Ekonomi KoperasiShifa Fauziyah
Β 

Viewers also liked (12)

skripsi
skripsiskripsi
skripsi
Β 
DevOps in Oracle Fusion Book
DevOps in Oracle Fusion BookDevOps in Oracle Fusion Book
DevOps in Oracle Fusion Book
Β 
E scheduler Mobile
E scheduler MobileE scheduler Mobile
E scheduler Mobile
Β 
Pengaruh islam dalam kebudayaan masa kini (iptek dan media sosial)
Pengaruh islam dalam kebudayaan masa kini (iptek dan media sosial)Pengaruh islam dalam kebudayaan masa kini (iptek dan media sosial)
Pengaruh islam dalam kebudayaan masa kini (iptek dan media sosial)
Β 
Halal: Antara Tuntutan Agama dan Keuntungan Koperasi
Halal: Antara Tuntutan Agama dan Keuntungan KoperasiHalal: Antara Tuntutan Agama dan Keuntungan Koperasi
Halal: Antara Tuntutan Agama dan Keuntungan Koperasi
Β 
Tugas semester pendek
Tugas semester pendekTugas semester pendek
Tugas semester pendek
Β 
Adab Komunikasi Dalam Islam
Adab Komunikasi Dalam IslamAdab Komunikasi Dalam Islam
Adab Komunikasi Dalam Islam
Β 
Bab 10 koperasi
Bab 10 koperasiBab 10 koperasi
Bab 10 koperasi
Β 
500’s Demo Day 2016 Series A >> HappyCo
500’s Demo Day 2016 Series A >> HappyCo500’s Demo Day 2016 Series A >> HappyCo
500’s Demo Day 2016 Series A >> HappyCo
Β 
500’s Demo Day 2016 Series A >> OwnLocal
500’s Demo Day 2016 Series A >> OwnLocal500’s Demo Day 2016 Series A >> OwnLocal
500’s Demo Day 2016 Series A >> OwnLocal
Β 
500’s Demo Day 2016 Series A >> RealtyShares
500’s Demo Day 2016 Series A >> RealtyShares500’s Demo Day 2016 Series A >> RealtyShares
500’s Demo Day 2016 Series A >> RealtyShares
Β 
Ppt Ekonomi Koperasi
Ppt Ekonomi KoperasiPpt Ekonomi Koperasi
Ppt Ekonomi Koperasi
Β 

Similar to Everyone can be Vango

Convolutional Neural Networks for Computer vision Applications
Convolutional Neural Networks for Computer vision ApplicationsConvolutional Neural Networks for Computer vision Applications
Convolutional Neural Networks for Computer vision ApplicationsAlex Conway
Β 
Deep Learning for Computer Vision - PyconDE 2017
Deep Learning for Computer Vision - PyconDE 2017Deep Learning for Computer Vision - PyconDE 2017
Deep Learning for Computer Vision - PyconDE 2017Alex Conway
Β 
Deep Learning for Computer Vision - ExecutiveML
Deep Learning for Computer Vision - ExecutiveMLDeep Learning for Computer Vision - ExecutiveML
Deep Learning for Computer Vision - ExecutiveMLAlex Conway
Β 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningSujit Pal
Β 
Deep Neural Networks for Computer Vision
Deep Neural Networks for Computer VisionDeep Neural Networks for Computer Vision
Deep Neural Networks for Computer VisionAlex Conway
Β 
PyConZA'17 Deep Learning for Computer Vision
PyConZA'17 Deep Learning for Computer VisionPyConZA'17 Deep Learning for Computer Vision
PyConZA'17 Deep Learning for Computer VisionAlex Conway
Β 
Deep Neural Networks for Video Applications at the Edge
Deep Neural Networks for Video Applications at the EdgeDeep Neural Networks for Video Applications at the Edge
Deep Neural Networks for Video Applications at the EdgeAlex Conway
Β 
PyDresden 20170824 - Deep Learning for Computer Vision
PyDresden 20170824 - Deep Learning for Computer VisionPyDresden 20170824 - Deep Learning for Computer Vision
PyDresden 20170824 - Deep Learning for Computer VisionAlex Conway
Β 
Machine Learning Tokyo - Deep Neural Networks for Video - NumberBoost
Machine Learning Tokyo - Deep Neural Networks for Video - NumberBoostMachine Learning Tokyo - Deep Neural Networks for Video - NumberBoost
Machine Learning Tokyo - Deep Neural Networks for Video - NumberBoostAlex Conway
Β 
Training Neural Networks
Training Neural NetworksTraining Neural Networks
Training Neural NetworksDatabricks
Β 
Convolutional Neural Networks for Image Classification (Cape Town Deep Learni...
Convolutional Neural Networks for Image Classification (Cape Town Deep Learni...Convolutional Neural Networks for Image Classification (Cape Town Deep Learni...
Convolutional Neural Networks for Image Classification (Cape Town Deep Learni...Alex Conway
Β 
A Neural Network that Understands Handwriting
A Neural Network that Understands HandwritingA Neural Network that Understands Handwriting
A Neural Network that Understands HandwritingShivam Sawhney
Β 
Practical Deep Learning Using Tensor Flow - Sandeep Kath
Practical Deep Learning Using Tensor Flow - Sandeep KathPractical Deep Learning Using Tensor Flow - Sandeep Kath
Practical Deep Learning Using Tensor Flow - Sandeep KathSandeep Kath
Β 
Deep Learning for Developers (October 2017)
Deep Learning for Developers (October 2017)Deep Learning for Developers (October 2017)
Deep Learning for Developers (October 2017)Julien SIMON
Β 
Teach a neural network to read handwriting
Teach a neural network to read handwritingTeach a neural network to read handwriting
Teach a neural network to read handwritingVipul Kaushal
Β 
Convolutional neural network
Convolutional neural network Convolutional neural network
Convolutional neural network Yan Xu
Β 
An Introduction to Deep Learning with Apache MXNet (November 2017)
An Introduction to Deep Learning with Apache MXNet (November 2017)An Introduction to Deep Learning with Apache MXNet (November 2017)
An Introduction to Deep Learning with Apache MXNet (November 2017)Julien SIMON
Β 

Similar to Everyone can be Vango (20)

Convolutional Neural Networks for Computer vision Applications
Convolutional Neural Networks for Computer vision ApplicationsConvolutional Neural Networks for Computer vision Applications
Convolutional Neural Networks for Computer vision Applications
Β 
Deep Learning for Computer Vision - PyconDE 2017
Deep Learning for Computer Vision - PyconDE 2017Deep Learning for Computer Vision - PyconDE 2017
Deep Learning for Computer Vision - PyconDE 2017
Β 
Deep Learning for Computer Vision - ExecutiveML
Deep Learning for Computer Vision - ExecutiveMLDeep Learning for Computer Vision - ExecutiveML
Deep Learning for Computer Vision - ExecutiveML
Β 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
Β 
Deep Neural Networks for Computer Vision
Deep Neural Networks for Computer VisionDeep Neural Networks for Computer Vision
Deep Neural Networks for Computer Vision
Β 
PyConZA'17 Deep Learning for Computer Vision
PyConZA'17 Deep Learning for Computer VisionPyConZA'17 Deep Learning for Computer Vision
PyConZA'17 Deep Learning for Computer Vision
Β 
Deep Neural Networks for Video Applications at the Edge
Deep Neural Networks for Video Applications at the EdgeDeep Neural Networks for Video Applications at the Edge
Deep Neural Networks for Video Applications at the Edge
Β 
CNN
CNNCNN
CNN
Β 
PyDresden 20170824 - Deep Learning for Computer Vision
PyDresden 20170824 - Deep Learning for Computer VisionPyDresden 20170824 - Deep Learning for Computer Vision
PyDresden 20170824 - Deep Learning for Computer Vision
Β 
Machine Learning Tokyo - Deep Neural Networks for Video - NumberBoost
Machine Learning Tokyo - Deep Neural Networks for Video - NumberBoostMachine Learning Tokyo - Deep Neural Networks for Video - NumberBoost
Machine Learning Tokyo - Deep Neural Networks for Video - NumberBoost
Β 
Magpie
MagpieMagpie
Magpie
Β 
Training Neural Networks
Training Neural NetworksTraining Neural Networks
Training Neural Networks
Β 
Convolutional Neural Networks for Image Classification (Cape Town Deep Learni...
Convolutional Neural Networks for Image Classification (Cape Town Deep Learni...Convolutional Neural Networks for Image Classification (Cape Town Deep Learni...
Convolutional Neural Networks for Image Classification (Cape Town Deep Learni...
Β 
A Neural Network that Understands Handwriting
A Neural Network that Understands HandwritingA Neural Network that Understands Handwriting
A Neural Network that Understands Handwriting
Β 
Practical Deep Learning Using Tensor Flow - Sandeep Kath
Practical Deep Learning Using Tensor Flow - Sandeep KathPractical Deep Learning Using Tensor Flow - Sandeep Kath
Practical Deep Learning Using Tensor Flow - Sandeep Kath
Β 
Deep Learning for Developers (October 2017)
Deep Learning for Developers (October 2017)Deep Learning for Developers (October 2017)
Deep Learning for Developers (October 2017)
Β 
CNN (v2).pptx
CNN (v2).pptxCNN (v2).pptx
CNN (v2).pptx
Β 
Teach a neural network to read handwriting
Teach a neural network to read handwritingTeach a neural network to read handwriting
Teach a neural network to read handwriting
Β 
Convolutional neural network
Convolutional neural network Convolutional neural network
Convolutional neural network
Β 
An Introduction to Deep Learning with Apache MXNet (November 2017)
An Introduction to Deep Learning with Apache MXNet (November 2017)An Introduction to Deep Learning with Apache MXNet (November 2017)
An Introduction to Deep Learning with Apache MXNet (November 2017)
Β 

Recently uploaded

welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
Β 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
Β 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
Β 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
Β 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...Amil Baba Dawood bangali
Β 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
Β 
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...9953056974 Low Rate Call Girls In Saket, Delhi NCR
Β 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
Β 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
Β 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
Β 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptNarmatha D
Β 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
Β 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
Β 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
Β 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
Β 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
Β 
Gurgaon ✑️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✑️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✑️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✑️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
Β 

Recently uploaded (20)

welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
Β 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
Β 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
Β 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
Β 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Β 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
Β 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Β 
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
Β 
young call girls in Green ParkπŸ” 9953056974 πŸ” escort Service
young call girls in Green ParkπŸ” 9953056974 πŸ” escort Serviceyoung call girls in Green ParkπŸ” 9953056974 πŸ” escort Service
young call girls in Green ParkπŸ” 9953056974 πŸ” escort Service
Β 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
Β 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Β 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
Β 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.ppt
Β 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
Β 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
Β 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
Β 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
Β 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
Β 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
Β 
Gurgaon ✑️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✑️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✑️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✑️9711147426✨Call In girls Gurgaon Sector 51 escort service
Β 

Everyone can be Vango

  • 1. Everyone can be van Gogh Introduction to Neural Art 物理三 ηŽ‹ζ˜±ηΏ” 2016. 11. 08
  • 2. Reference β€’ Leon A. Gatys, Alexander S. Ecker, Matthias Bethge, A Neural Algorithm of Artistic Style β€’ Mark Chang’s slide, http://www.slideshare.net/ckmarkohchang/a- neural-algorithm-of-artistic-style?next_slideshow=1
  • 3. Outline β€’ Few examples of Neural Art β€’ Introduction to CNN β€’ Implement Neural Art β€’ Application β€’ Conclusion
  • 5. Can we paint like van Gogh? (I’m not 9.2%)
  • 6. Yes! (Use Convolutional Neural Network) Ref: Mark Chang’s slide
  • 9. CNN– Convolution 0 0 1 1 0 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0.5 0.5 0 0 0 0 0.5 0.5 0 0 0 0 1 0 0 1 0 0 1 Filter_2 Number of filters depends on Users ! 0 0 1 0 0.5 0 1 0 0 Filter_1 Find pattern Input image
  • 10. Filter -- Element wise matrix multiplication 0 0 1 1 0 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0.5 0.5 0 0 0 0 0.5 0.5 0 0 0 0 1 0 0.5 0 1 0 0 0 0 1 0 0 1 0 0 1 2.5
  • 11. CNN -- convolution 0 1 2 3 4 5 6 w0 = 𝐹11 0 1 2 3 4 5 6 7 8 9 10 11 0 0 1 1 0 0 0 1 1 1 1 0 Corresponding Index 2.5 w1 = 𝐹12 w2 = 𝐹13 w6 = 𝐹21
  • 12. 0 0 1 1 0 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0.5 0.5 0 0 0 0 0.5 0.5 0 0 0 0 1 0 0.5 0 1 0 0 0 0 1 0 0 1 0 0 1 2.5
  • 13. CNN – Max Pooling 2.5 2.5 1.5 1.5 2.5 2.5 2.5 1.5 1.5 1.5 2 2 1 1.5 1.75 1.5 2.5 2.5 1.5 2 0 0 1 1 0 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0.5 0.5 0 0 0 0 0.5 0.5 0 0 0 0 1 0 0.5 0 1 0 0 Max pooling 2.5
  • 14. Repeat Convolution + Max pooling Input Image Convolution Max pooling Convolution Max pooling
  • 15. Whole CNN Process Image Convolution Max Pooling N times Flatten Fully Connected Neural Network
  • 17. Neural Art- Create Content 0.3 0.7 1 0 0.6 0.2 0.8 0.7 0.4 0.4 0.7 0.1 0.2 0.3 0.5 0.8 0 0.3 0.9 0.1 0.5 0.9 0.6 1 0.8 CNN CNN Canvas x Output X Output P 𝐿 π‘π‘œπ‘›π‘‘π‘’π‘›π‘‘ = 1 2 𝑖,𝑗(𝑋𝑖,𝑗 βˆ’ 𝑃𝑖,𝑗)2 Gradient Descent (Back Propagation) Photo p Canvas x: Our paintings CNN: Already trained by other people
  • 18. CNN Neural Art – Create Style 0.3 0.7 1 0 0.6 0.2 0.8 0.7 0.4 0.4 0.7 0.1 0.2 0.3 0.5 0.8 0 0.3 0.9 0.1 0.5 0.9 0.6 1 0.8 CNN Canvas x Output Output 𝐿 𝑠𝑑𝑦𝑙𝑒 = 1 2 𝑖,𝑗(𝑋𝑖,𝑗 βˆ’ 𝑆𝑖,𝑗)2 Gradient Descent (Back Propagation) Style s Gram S Gram X G G βˆ— πΊπ‘Ÿπ‘Žπ‘šπ‘–,𝑗 = <𝑣𝑖, 𝑣𝑗> Gram S_00 = <O_s row[0], O_s col[0]>
  • 19. Update Canvas β€’ 𝐿 π‘‘π‘œπ‘‘π‘Žπ‘™ = 𝛼𝐿 π‘π‘œπ‘›π‘‘π‘’π‘›π‘‘ + 𝛽𝐿 𝑠𝑑𝑦𝑙𝑒 οƒ  x = x - πœ‚ πœ•πΏ π‘‘π‘œπ‘‘π‘Žπ‘™ πœ•π‘₯
  • 22. Real time Neural Art Ref: Fast Style transfer in Tensorflow
  • 23. Conclusion β€’ Yeah! Computer can paint by themselves! β€’ Really? They still need a photo for painting.
  • 24. Thank You For Your Listening !