SlideShare une entreprise Scribd logo
1  sur  34
Télécharger pour lire hors ligne
Image Style Transfer,
Neural Doodles &
Texture Synthesis
Dmitry Ulyanov
11/13/2016 1
MIXAR
Moscow, 2016
Dmitry Ulyanov
• Consist of repeated
• Convolutions
• ReLU
• MaxPool
+
• FC + Softmax at the end
• Activations (feature maps)
• Tensor of size CxWxH
VGG-style neural networks
11/13/2016 Style transfer, neural doodles & texture synthesis 2
Image credit: Xavier Giro, DeepFix slides
H
W
C
Dmitry Ulyanov
Image generation examples
11/13/2016 Style transfer, neural doodles & texture synthesis 3
Simonyan et al. 2014Mordvintsev, 2015
Dmitry Ulyanov
• General overview:
1. Texture synthesis
2. Image style transfer
3. Neural doodles
• Our work “Texture networks” (ICML 2016):
• Fast texture synthesis
• Fast image style transfer
• Fast neural doodles
Presentation structure
11/13/2016 Style transfer, neural doodles & texture synthesis 4
Dmitry Ulyanov
Examples: Texture Synthesis
11/13/2016 Style transfer, neural doodles & texture synthesis 5
Source Synthesized
L. A. Gatys, A. S. Ecker, M. Bethge; “Texture Synthesis Using Convolutional Neural Networks“; NIPS 2015
Dmitry Ulyanov
Examples: Image Artistic Style Transfer
11/13/2016 Style transfer, neural doodles & texture synthesis 6
L. A. Gatys, A. S. Ecker, M. Bethge; “Image Style Transfer Using Convolutional Neural Networks“; CVPR 2016
Content Style Result
Dmitry Ulyanov
Examples: Neural Doodles
11/13/2016 Style transfer, neural doodles & texture synthesis 7
A. J. Champandard. “Semantic Style Transfer and Turning Two-Bit Doodles into Fine Artworks”, 2016
Template Mask
Synthesized image User mask
Dmitry Ulyanov11/13/2016 Style transfer, neural doodles & texture synthesis 8
How does it work?
Dmitry Ulyanov
Image generation by optimization
11/13/2016 Style transfer, neural doodles & texture synthesis 9
Dmitry Ulyanov
Texture:
Activations at layer :
Gram matrix at layer :
Gatys et. al.: Optimization-based texture synthesis
11/13/2016 Style transfer, neural doodles & texture synthesis 10
Dmitry Ulyanov
Image:
Gram matrix at layer :
Loss at layer :
Gatys et. al.: Optimization-based texture synthesis
11/13/2016 Style transfer, neural doodles & texture synthesis 11
Dmitry Ulyanov
Loss:
Solve
By gradient descent
Gatys et. al.: Optimization-based texture synthesis
11/13/2016 Style transfer, neural doodles & texture synthesis 12
Dmitry Ulyanov
Examples: Texture Synthesis
11/13/2016 Style transfer, neural doodles & texture synthesis 13
Source Synthesized
L. A. Gatys, A. S. Ecker, M. Bethge; “Texture Synthesis Using Convolutional Neural Networks“; NIPS 2015
Dmitry Ulyanov
How to: Neural Doodles
11/13/2016 Style transfer, neural doodles & texture synthesis 14
github.com/DmitryUlyanov/fast-neural-doodle
Template Mask
Synthesized image User mask
Dmitry Ulyanov
Total loss:
Texture loss:
Content loss:
Gatys et. al.: Content loss for style transfer
11/13/2016 Style transfer, neural doodles & texture synthesis 15
Content Style Result
Dmitry Ulyanov
Content image:
Activations at layer :
Gatys et. al.: Content loss for style transfer
11/13/2016 Style transfer, neural doodles & texture synthesis 16
Dmitry Ulyanov
Total loss:
Texture loss:
Content loss:
Gatys et. al.: Content loss for style transfer
11/13/2016 Style transfer, neural doodles & texture synthesis 17
Content Style Result
Dmitry Ulyanov
The results are excellent, but…
It is slow! Several minutes on a high-end GPU.
What else?
11/13/2016 Style transfer, neural doodles & texture synthesis 18
Texture Networks:
Feed-forward Synthesis of Textures and Stylized Images
Dmitry Ulyanov1,2, Vadim Lebedev1,2, Andrea Vedaldi3, Victor Lempitsky2
11/13/2016 Style transfer, neural doodles & texture synthesis 19
ICML 2016
1 2 3
Dmitry Ulyanov
Instead of solving Solve
Our method: learn a neural net to generate
11/13/2016 Style transfer, neural doodles & texture synthesis 20
• Now
• Generation requires a single evaluation
• But
• Need to make sure does not collapse everything into one point
Dmitry Ulyanov
Solve
By gradient descent
Generate :
We propose: texture network
11/13/2016 Style transfer, neural doodles & texture synthesis 21
Dmitry Ulyanov
Solve
By gradient descent
Generate :
We propose: stylization network
11/13/2016 Style transfer, neural doodles & texture synthesis 22
Dmitry Ulyanov
Qualitative evaluation: textures
11/13/2016 Style transfer, neural doodles & texture synthesis 23
Texture Gatys et. al.
(90 sec.)
Ours
(0.06 sec.)
Almost similar but ours 500 times faster.
Dmitry Ulyanov
Qualitative evaluation: textures
11/13/2016 Style transfer, neural doodles & texture synthesis 24
Texture Gatys et. al.
(90 sec.)
Ours
(0.06 sec.)
Dmitry Ulyanov
Qualitative evaluation: textures
11/13/2016 Style transfer, neural doodles & texture synthesis 25
Texture Gatys et. al. Ours Texture Gatys et. al. Ours
(90 sec.) (0.06 sec.) (90 sec.) (0.06 sec.)
Dmitry Ulyanov
Qualitative results: stylization
11/13/2016 Style transfer, neural doodles & texture synthesis 26
Content
Ours
(0.06 sec.)
Style
Gatys et. al.
(90 sec.)
Dmitry Ulyanov
Qualitative results: stylization
11/13/2016 Style transfer, neural doodles & texture synthesis 27
Content
Ours Gatys et. al.
Style
Dmitry Ulyanov
Generator network
11/13/2016 Style transfer, neural doodles & texture synthesis 28
• Works good with any fully convolutional architectures.
• Use Instance normalization instead of Batch Normalization.
Dmitry Ulyanov11/13/2016 Style transfer, neural doodles & texture synthesis 29
Was the technology used somewhere?
Yes!
Dmitry Ulyanov
Online neural doodles: likemo.net
11/13/2016 Style transfer, neural doodles & texture synthesis 30
GIF: prostheticknowledge-online-neural-doodle
Code: github.com/DmitryUlyanov/online-neural-doodle
Dmitry Ulyanov
• Made possible many stylization apps for mobile devices
Fast stylization
11/13/2016 Style transfer, neural doodles & texture synthesis 31
Dmitry Ulyanov
Source code is open at
https://github.com/DmitryUlyanov/
Source code
11/13/2016 Style transfer, neural doodles & texture synthesis 32
Dmitry Ulyanov
Thank you!
The last slide
11/13/2016 Style transfer, neural doodles & texture synthesis 33
Dmitry Ulyanov
• Generative Adversarial Networks (Goodfellow et. al., NIPS 2014): a neural
network aims to produce samples that are indistinguishable from real examples
• Perceptual Losses for Real-Time Style Transfer and Super-Resolution, (Johnson
et. al., ECCV 2016): very similar approach fast stylization approach.
• Precomputed Real-Time Texture Synthesis with Markovian Generative
Adversarial Networks (Li & Wand, ECCV 2016): similar patch-based style transfer
acceleration approach.
Related work
11/13/2016 Style transfer, neural doodles & texture synthesis 34
Similar concurrent work
Feed-forward generator

Contenu connexe

Similaire à Дмитрий Ульянов, SKOLTECH - MIXAR2016

Similaire à Дмитрий Ульянов, SKOLTECH - MIXAR2016 (6)

Multi-modal embeddings: from discriminative to generative models and creative ai
Multi-modal embeddings: from discriminative to generative models and creative aiMulti-modal embeddings: from discriminative to generative models and creative ai
Multi-modal embeddings: from discriminative to generative models and creative ai
 
A Learned Representation for Artistic Style
A Learned Representation for Artistic StyleA Learned Representation for Artistic Style
A Learned Representation for Artistic Style
 
A Deep Architecture for Content-based Recommendations Exploiting Recurrent Ne...
A Deep Architecture for Content-based Recommendations Exploiting Recurrent Ne...A Deep Architecture for Content-based Recommendations Exploiting Recurrent Ne...
A Deep Architecture for Content-based Recommendations Exploiting Recurrent Ne...
 
Variants of GANs - Jaejun Yoo
Variants of GANs - Jaejun YooVariants of GANs - Jaejun Yoo
Variants of GANs - Jaejun Yoo
 
Roadmap - SiriusCon2016
Roadmap - SiriusCon2016Roadmap - SiriusCon2016
Roadmap - SiriusCon2016
 
Machine Learning with JavaScript
Machine Learning with JavaScriptMachine Learning with JavaScript
Machine Learning with JavaScript
 

Plus de mixARConference

ДАРЬЯ ЗОЛОТУХИНА Руководитель маркетинговых коммуникаций Yandex.Taxi "VR-ШЛЕМ...
ДАРЬЯ ЗОЛОТУХИНА Руководитель маркетинговых коммуникаций Yandex.Taxi "VR-ШЛЕМ...ДАРЬЯ ЗОЛОТУХИНА Руководитель маркетинговых коммуникаций Yandex.Taxi "VR-ШЛЕМ...
ДАРЬЯ ЗОЛОТУХИНА Руководитель маркетинговых коммуникаций Yandex.Taxi "VR-ШЛЕМ...
mixARConference
 
ДМИТРИЙ СТАТОВСКИЙ, CEO 1Reality "МАРКЕТИНГ ДОПОЛНЕННОЙ РЕАЛЬНОСТИ НА СВОБОДН...
ДМИТРИЙ СТАТОВСКИЙ, CEO 1Reality "МАРКЕТИНГ ДОПОЛНЕННОЙ РЕАЛЬНОСТИ НА СВОБОДН...ДМИТРИЙ СТАТОВСКИЙ, CEO 1Reality "МАРКЕТИНГ ДОПОЛНЕННОЙ РЕАЛЬНОСТИ НА СВОБОДН...
ДМИТРИЙ СТАТОВСКИЙ, CEO 1Reality "МАРКЕТИНГ ДОПОЛНЕННОЙ РЕАЛЬНОСТИ НА СВОБОДН...
mixARConference
 
Саули Кивиранта (Sauli Kiviranta), Delta Cygni Labs "Дополненная реальность в...
Саули Кивиранта (Sauli Kiviranta), Delta Cygni Labs "Дополненная реальность в...Саули Кивиранта (Sauli Kiviranta), Delta Cygni Labs "Дополненная реальность в...
Саули Кивиранта (Sauli Kiviranta), Delta Cygni Labs "Дополненная реальность в...
mixARConference
 
Максим Чижов, Virtuality Club "Дополненная виртуальность, или будущее развлек...
Максим Чижов, Virtuality Club "Дополненная виртуальность, или будущее развлек...Максим Чижов, Virtuality Club "Дополненная виртуальность, или будущее развлек...
Максим Чижов, Virtuality Club "Дополненная виртуальность, или будущее развлек...
mixARConference
 
Дмитрий Юсупов, Synapse "Интерактивный маркетинг в недвижимости. Миф или реал...
Дмитрий Юсупов, Synapse "Интерактивный маркетинг в недвижимости. Миф или реал...Дмитрий Юсупов, Synapse "Интерактивный маркетинг в недвижимости. Миф или реал...
Дмитрий Юсупов, Synapse "Интерактивный маркетинг в недвижимости. Миф или реал...
mixARConference
 
Денис Семенов, Great Gonzo Studio "Иммерсивная живопись"
Денис Семенов, Great Gonzo Studio "Иммерсивная живопись"Денис Семенов, Great Gonzo Studio "Иммерсивная живопись"
Денис Семенов, Great Gonzo Studio "Иммерсивная живопись"
mixARConference
 

Plus de mixARConference (20)

Денис Семенов Art experience
Денис Семенов Art experienceДенис Семенов Art experience
Денис Семенов Art experience
 
Катрин Ненашева - между здесь и там 2
Катрин Ненашева - между здесь и там 2Катрин Ненашева - между здесь и там 2
Катрин Ненашева - между здесь и там 2
 
"Augmented and Virtual Reality – Ready for Design and Engineering" Cyrille F...
"Augmented and Virtual Reality – Ready for Design and Engineering"  Cyrille F..."Augmented and Virtual Reality – Ready for Design and Engineering"  Cyrille F...
"Augmented and Virtual Reality – Ready for Design and Engineering" Cyrille F...
 
Astrid Kahmke, BFZ, Mixar september 2016
Astrid Kahmke, BFZ, Mixar september 2016Astrid Kahmke, BFZ, Mixar september 2016
Astrid Kahmke, BFZ, Mixar september 2016
 
Ирина Саминская, Музей Москвы - MIXAR2016
Ирина Саминская, Музей Москвы - MIXAR2016Ирина Саминская, Музей Москвы - MIXAR2016
Ирина Саминская, Музей Москвы - MIXAR2016
 
Владимир Определенов, Музей им.Пушкина - MIXAR2016
Владимир Определенов, Музей им.Пушкина - MIXAR2016Владимир Определенов, Музей им.Пушкина - MIXAR2016
Владимир Определенов, Музей им.Пушкина - MIXAR2016
 
Александр Лавров, Vizerra - MIXAR2016
Александр Лавров, Vizerra - MIXAR2016Александр Лавров, Vizerra - MIXAR2016
Александр Лавров, Vizerra - MIXAR2016
 
Дмитрий Кириллов, Cerevrum - MIXAR2016
Дмитрий Кириллов, Cerevrum - MIXAR2016Дмитрий Кириллов, Cerevrum - MIXAR2016
Дмитрий Кириллов, Cerevrum - MIXAR2016
 
Денис Захаркин, VR Concept - MIXAR2016
Денис Захаркин, VR Concept - MIXAR2016Денис Захаркин, VR Concept - MIXAR2016
Денис Захаркин, VR Concept - MIXAR2016
 
Антон Никоноров, XLab - MIXAR2016
Антон Никоноров, XLab - MIXAR2016Антон Никоноров, XLab - MIXAR2016
Антон Никоноров, XLab - MIXAR2016
 
Александр Лавров, Vizerra - MIXAR2016
Александр Лавров, Vizerra - MIXAR2016Александр Лавров, Vizerra - MIXAR2016
Александр Лавров, Vizerra - MIXAR2016
 
Дмитрий Тамеев, Технический директор PTC - MIXAR2016
Дмитрий Тамеев, Технический директор PTC - MIXAR2016Дмитрий Тамеев, Технический директор PTC - MIXAR2016
Дмитрий Тамеев, Технический директор PTC - MIXAR2016
 
Трукшин Николай - VR-соцмедиа и почему нельзя их "проспать" - Timvi VR Startu...
Трукшин Николай - VR-соцмедиа и почему нельзя их "проспать" - Timvi VR Startu...Трукшин Николай - VR-соцмедиа и почему нельзя их "проспать" - Timvi VR Startu...
Трукшин Николай - VR-соцмедиа и почему нельзя их "проспать" - Timvi VR Startu...
 
Леонид Земцев. Бизнес ангел, инвестор, визионер "Как дополненная реальность ф...
Леонид Земцев. Бизнес ангел, инвестор, визионер "Как дополненная реальность ф...Леонид Земцев. Бизнес ангел, инвестор, визионер "Как дополненная реальность ф...
Леонид Земцев. Бизнес ангел, инвестор, визионер "Как дополненная реальность ф...
 
ДАРЬЯ ЗОЛОТУХИНА Руководитель маркетинговых коммуникаций Yandex.Taxi "VR-ШЛЕМ...
ДАРЬЯ ЗОЛОТУХИНА Руководитель маркетинговых коммуникаций Yandex.Taxi "VR-ШЛЕМ...ДАРЬЯ ЗОЛОТУХИНА Руководитель маркетинговых коммуникаций Yandex.Taxi "VR-ШЛЕМ...
ДАРЬЯ ЗОЛОТУХИНА Руководитель маркетинговых коммуникаций Yandex.Taxi "VR-ШЛЕМ...
 
ДМИТРИЙ СТАТОВСКИЙ, CEO 1Reality "МАРКЕТИНГ ДОПОЛНЕННОЙ РЕАЛЬНОСТИ НА СВОБОДН...
ДМИТРИЙ СТАТОВСКИЙ, CEO 1Reality "МАРКЕТИНГ ДОПОЛНЕННОЙ РЕАЛЬНОСТИ НА СВОБОДН...ДМИТРИЙ СТАТОВСКИЙ, CEO 1Reality "МАРКЕТИНГ ДОПОЛНЕННОЙ РЕАЛЬНОСТИ НА СВОБОДН...
ДМИТРИЙ СТАТОВСКИЙ, CEO 1Reality "МАРКЕТИНГ ДОПОЛНЕННОЙ РЕАЛЬНОСТИ НА СВОБОДН...
 
Саули Кивиранта (Sauli Kiviranta), Delta Cygni Labs "Дополненная реальность в...
Саули Кивиранта (Sauli Kiviranta), Delta Cygni Labs "Дополненная реальность в...Саули Кивиранта (Sauli Kiviranta), Delta Cygni Labs "Дополненная реальность в...
Саули Кивиранта (Sauli Kiviranta), Delta Cygni Labs "Дополненная реальность в...
 
Максим Чижов, Virtuality Club "Дополненная виртуальность, или будущее развлек...
Максим Чижов, Virtuality Club "Дополненная виртуальность, или будущее развлек...Максим Чижов, Virtuality Club "Дополненная виртуальность, или будущее развлек...
Максим Чижов, Virtuality Club "Дополненная виртуальность, или будущее развлек...
 
Дмитрий Юсупов, Synapse "Интерактивный маркетинг в недвижимости. Миф или реал...
Дмитрий Юсупов, Synapse "Интерактивный маркетинг в недвижимости. Миф или реал...Дмитрий Юсупов, Synapse "Интерактивный маркетинг в недвижимости. Миф или реал...
Дмитрий Юсупов, Synapse "Интерактивный маркетинг в недвижимости. Миф или реал...
 
Денис Семенов, Great Gonzo Studio "Иммерсивная живопись"
Денис Семенов, Great Gonzo Studio "Иммерсивная живопись"Денис Семенов, Great Gonzo Studio "Иммерсивная живопись"
Денис Семенов, Great Gonzo Studio "Иммерсивная живопись"
 

Dernier

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Dernier (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 

Дмитрий Ульянов, SKOLTECH - MIXAR2016

  • 1. Image Style Transfer, Neural Doodles & Texture Synthesis Dmitry Ulyanov 11/13/2016 1 MIXAR Moscow, 2016
  • 2. Dmitry Ulyanov • Consist of repeated • Convolutions • ReLU • MaxPool + • FC + Softmax at the end • Activations (feature maps) • Tensor of size CxWxH VGG-style neural networks 11/13/2016 Style transfer, neural doodles & texture synthesis 2 Image credit: Xavier Giro, DeepFix slides H W C
  • 3. Dmitry Ulyanov Image generation examples 11/13/2016 Style transfer, neural doodles & texture synthesis 3 Simonyan et al. 2014Mordvintsev, 2015
  • 4. Dmitry Ulyanov • General overview: 1. Texture synthesis 2. Image style transfer 3. Neural doodles • Our work “Texture networks” (ICML 2016): • Fast texture synthesis • Fast image style transfer • Fast neural doodles Presentation structure 11/13/2016 Style transfer, neural doodles & texture synthesis 4
  • 5. Dmitry Ulyanov Examples: Texture Synthesis 11/13/2016 Style transfer, neural doodles & texture synthesis 5 Source Synthesized L. A. Gatys, A. S. Ecker, M. Bethge; “Texture Synthesis Using Convolutional Neural Networks“; NIPS 2015
  • 6. Dmitry Ulyanov Examples: Image Artistic Style Transfer 11/13/2016 Style transfer, neural doodles & texture synthesis 6 L. A. Gatys, A. S. Ecker, M. Bethge; “Image Style Transfer Using Convolutional Neural Networks“; CVPR 2016 Content Style Result
  • 7. Dmitry Ulyanov Examples: Neural Doodles 11/13/2016 Style transfer, neural doodles & texture synthesis 7 A. J. Champandard. “Semantic Style Transfer and Turning Two-Bit Doodles into Fine Artworks”, 2016 Template Mask Synthesized image User mask
  • 8. Dmitry Ulyanov11/13/2016 Style transfer, neural doodles & texture synthesis 8 How does it work?
  • 9. Dmitry Ulyanov Image generation by optimization 11/13/2016 Style transfer, neural doodles & texture synthesis 9
  • 10. Dmitry Ulyanov Texture: Activations at layer : Gram matrix at layer : Gatys et. al.: Optimization-based texture synthesis 11/13/2016 Style transfer, neural doodles & texture synthesis 10
  • 11. Dmitry Ulyanov Image: Gram matrix at layer : Loss at layer : Gatys et. al.: Optimization-based texture synthesis 11/13/2016 Style transfer, neural doodles & texture synthesis 11
  • 12. Dmitry Ulyanov Loss: Solve By gradient descent Gatys et. al.: Optimization-based texture synthesis 11/13/2016 Style transfer, neural doodles & texture synthesis 12
  • 13. Dmitry Ulyanov Examples: Texture Synthesis 11/13/2016 Style transfer, neural doodles & texture synthesis 13 Source Synthesized L. A. Gatys, A. S. Ecker, M. Bethge; “Texture Synthesis Using Convolutional Neural Networks“; NIPS 2015
  • 14. Dmitry Ulyanov How to: Neural Doodles 11/13/2016 Style transfer, neural doodles & texture synthesis 14 github.com/DmitryUlyanov/fast-neural-doodle Template Mask Synthesized image User mask
  • 15. Dmitry Ulyanov Total loss: Texture loss: Content loss: Gatys et. al.: Content loss for style transfer 11/13/2016 Style transfer, neural doodles & texture synthesis 15 Content Style Result
  • 16. Dmitry Ulyanov Content image: Activations at layer : Gatys et. al.: Content loss for style transfer 11/13/2016 Style transfer, neural doodles & texture synthesis 16
  • 17. Dmitry Ulyanov Total loss: Texture loss: Content loss: Gatys et. al.: Content loss for style transfer 11/13/2016 Style transfer, neural doodles & texture synthesis 17 Content Style Result
  • 18. Dmitry Ulyanov The results are excellent, but… It is slow! Several minutes on a high-end GPU. What else? 11/13/2016 Style transfer, neural doodles & texture synthesis 18
  • 19. Texture Networks: Feed-forward Synthesis of Textures and Stylized Images Dmitry Ulyanov1,2, Vadim Lebedev1,2, Andrea Vedaldi3, Victor Lempitsky2 11/13/2016 Style transfer, neural doodles & texture synthesis 19 ICML 2016 1 2 3
  • 20. Dmitry Ulyanov Instead of solving Solve Our method: learn a neural net to generate 11/13/2016 Style transfer, neural doodles & texture synthesis 20 • Now • Generation requires a single evaluation • But • Need to make sure does not collapse everything into one point
  • 21. Dmitry Ulyanov Solve By gradient descent Generate : We propose: texture network 11/13/2016 Style transfer, neural doodles & texture synthesis 21
  • 22. Dmitry Ulyanov Solve By gradient descent Generate : We propose: stylization network 11/13/2016 Style transfer, neural doodles & texture synthesis 22
  • 23. Dmitry Ulyanov Qualitative evaluation: textures 11/13/2016 Style transfer, neural doodles & texture synthesis 23 Texture Gatys et. al. (90 sec.) Ours (0.06 sec.) Almost similar but ours 500 times faster.
  • 24. Dmitry Ulyanov Qualitative evaluation: textures 11/13/2016 Style transfer, neural doodles & texture synthesis 24 Texture Gatys et. al. (90 sec.) Ours (0.06 sec.)
  • 25. Dmitry Ulyanov Qualitative evaluation: textures 11/13/2016 Style transfer, neural doodles & texture synthesis 25 Texture Gatys et. al. Ours Texture Gatys et. al. Ours (90 sec.) (0.06 sec.) (90 sec.) (0.06 sec.)
  • 26. Dmitry Ulyanov Qualitative results: stylization 11/13/2016 Style transfer, neural doodles & texture synthesis 26 Content Ours (0.06 sec.) Style Gatys et. al. (90 sec.)
  • 27. Dmitry Ulyanov Qualitative results: stylization 11/13/2016 Style transfer, neural doodles & texture synthesis 27 Content Ours Gatys et. al. Style
  • 28. Dmitry Ulyanov Generator network 11/13/2016 Style transfer, neural doodles & texture synthesis 28 • Works good with any fully convolutional architectures. • Use Instance normalization instead of Batch Normalization.
  • 29. Dmitry Ulyanov11/13/2016 Style transfer, neural doodles & texture synthesis 29 Was the technology used somewhere? Yes!
  • 30. Dmitry Ulyanov Online neural doodles: likemo.net 11/13/2016 Style transfer, neural doodles & texture synthesis 30 GIF: prostheticknowledge-online-neural-doodle Code: github.com/DmitryUlyanov/online-neural-doodle
  • 31. Dmitry Ulyanov • Made possible many stylization apps for mobile devices Fast stylization 11/13/2016 Style transfer, neural doodles & texture synthesis 31
  • 32. Dmitry Ulyanov Source code is open at https://github.com/DmitryUlyanov/ Source code 11/13/2016 Style transfer, neural doodles & texture synthesis 32
  • 33. Dmitry Ulyanov Thank you! The last slide 11/13/2016 Style transfer, neural doodles & texture synthesis 33
  • 34. Dmitry Ulyanov • Generative Adversarial Networks (Goodfellow et. al., NIPS 2014): a neural network aims to produce samples that are indistinguishable from real examples • Perceptual Losses for Real-Time Style Transfer and Super-Resolution, (Johnson et. al., ECCV 2016): very similar approach fast stylization approach. • Precomputed Real-Time Texture Synthesis with Markovian Generative Adversarial Networks (Li & Wand, ECCV 2016): similar patch-based style transfer acceleration approach. Related work 11/13/2016 Style transfer, neural doodles & texture synthesis 34 Similar concurrent work Feed-forward generator