ݺߣ

ݺߣShare a Scribd company logo
Fast Neural Style
Sam Lee
2017.5.20 Tainan.py X MOUST
GAN
_ʼ֮ǰҪ֪Ė||
vһºܳ Deep Learning
Fully-Connected Network
http://deeplearning.stanford.edu/wiki/index.php/Feature_extraction_using_convolutio
Convolution and Pooling
Convolutional Neural Network
http://www.cc.gatech.edu/~hays/compvision/proj6/
VGG
https://www.cs.toronto.edu/~frossard/post/vgg16/
Neural Style Transfer
 fXֻ߀ ?
Images from: https://github.com/lengstrom/fast-style-transfer
Styler Transfer
A Neural Algorithm of Artistic Style
https://arxiv.org/abs/1508.06576
Leon A. Gatys, Alexander S. Ecker, Matthias Bethge
Sep 2015
by Mark Chang
Styler Transfer
Styler Transfer
by Mark Chang
Image from: A Neural Algorithm of Artistic Style (Gatys et.)
Layers
+
Demo
To see gif
https://github.com/misgod/fast-neural-style-keras/blob/master/slide/demo.gif
@@ ......
һcǻۿһcǻ
ٶȺɶٶȺ
GAN
Generative Adversarial Networks
˹ǻҲܡoС ?
ICLR-2017 ύՓģ 45 ƪaʽģP 37 ƪcӖP
NIPS-2016 ڕhV GAN ἰ^ 120 Σ
ͬrhTᘌ Adversarial Training Mһ workshop 
 32 ƪ£^c GAN ֱP⣬߀ 17 ƪaʽ
ģP£ 11 ƪӖP£
Arxiv  Computer Science ¼s 500 ƪcWjP£
н^ 2016 Ĺ
YρԴ : GANģͼ2016ȵĽչ
t GAN
Generative Adversarial Networks
Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, et.
Jun 2014
https://arxiv.org/abs/1406.2661
DƬԴ
GAN
GAN
Unsupervised Representation Learning with Deep
Convolutional Generative Adversarial Networks
Alec Radford, Luke Metz, Soumith Chintala
Jan 2016
https://arxiv.org/abs/1406.2661
DCGAN
DCGAN
DCGAN
DCGAN
https://deephunt.in/the-gan-zoo-79597dc8c347
The GAN Zoo
?
GAN
?
DCGAN
?
InfoGAN
?
WGAN
?
WGAN-GP
?
...
GAN
Fast Neural Style
GAN+Style Transfer = Fast Neural Style
Perceptual Losses for Real-Time Style Transfer and
Super-Resolution
Johnson, Justin and Alahi, Alexandre and Fei-Fei, Li
Mar 2016
https://arxiv.org/abs/1603.08155
Model
Image Transform Net
Instance Normalization: The Missing Ingredient for
Fast Stylization
Dmitry Ulyanov, Andrea Vedaldi, Victor Lempitsky
Sep 2016
https://arxiv.org/abs/1607.08022
Instance Normalization
Batch Normalization
Instance Normalization
Instance Normalization
DƬԴ :https://github.com/titu1994/Fast-Neural-Style
 - Border Artifact
?
Remove zero-padding
?
Add ReflectionPadding in
Input, so input & output
have same size
http://distill.pub/2016/deconv-checkerboard/
 - Checkerboard Artifacts
?
switching deconvolutional
layers for resize-
convolution layers
GAN
Demo
ɹ ...
ʽa https://github.com/misgod/fast-neural-style-keras
Demo
Demo
Demo
Demo
Demo
Demo
Demo
Fast neural style

More Related Content

Similar to Fast neural style (20)

With Great Nerdery Comes Great Responsibility
With Great Nerdery Comes Great Responsibility With Great Nerdery Comes Great Responsibility
With Great Nerdery Comes Great Responsibility
John Anderson
?
Digital Fabrication Studio v.0.2: Digital Fabrication and FabLab ecosystem
Digital Fabrication Studio v.0.2: Digital Fabrication and FabLab ecosystemDigital Fabrication Studio v.0.2: Digital Fabrication and FabLab ecosystem
Digital Fabrication Studio v.0.2: Digital Fabrication and FabLab ecosystem
Massimo Menichinelli
?
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
? Hanno Embregts ?
?
GAN for business value @ Data Science Milan
GAN for business value @ Data Science MilanGAN for business value @ Data Science Milan
GAN for business value @ Data Science Milan
Alex Honchar
?
[ICLR2017 Reading Meeting@DeNA] Introduction of ICLR2017
[ICLR2017 Reading Meeting@DeNA] Introduction of ICLR2017[ICLR2017 Reading Meeting@DeNA] Introduction of ICLR2017
[ICLR2017 Reading Meeting@DeNA] Introduction of ICLR2017
Takeru Miyato
?
Introduction to Open Source by opensource.hk (2019 Edition)
Introduction to Open Source by opensource.hk (2019 Edition)Introduction to Open Source by opensource.hk (2019 Edition)
Introduction to Open Source by opensource.hk (2019 Edition)
Sammy Fung
?
Diving Deeper: Inside Mallard and the GNOME Help System
Diving Deeper: Inside Mallard and the GNOME Help SystemDiving Deeper: Inside Mallard and the GNOME Help System
Diving Deeper: Inside Mallard and the GNOME Help System
Shaun McCance
?
Experiments in Data Portability 2
Experiments in Data Portability 2Experiments in Data Portability 2
Experiments in Data Portability 2
Glenn Jones
?
Building Secure Open & Distributed Social Networks
Building Secure Open & Distributed Social NetworksBuilding Secure Open & Distributed Social Networks
Building Secure Open & Distributed Social Networks
Henry Story
?
Open Source: Beyond the Code
Open Source: Beyond the CodeOpen Source: Beyond the Code
Open Source: Beyond the Code
Kerri Shotts
?
Pharo Update
Pharo Update Pharo Update
Pharo Update
ESUG
?
Mining social data
Mining social dataMining social data
Mining social data
Malk Zameth
?
T13 (1).pptx
T13 (1).pptxT13 (1).pptx
T13 (1).pptx
praveen gautam
?
Luigi Presentation at OSCON 2013
Luigi Presentation at OSCON 2013Luigi Presentation at OSCON 2013
Luigi Presentation at OSCON 2013
Erik Bernhardsson
?
Image Segmentation: Approaches and Challenges
Image Segmentation: Approaches and ChallengesImage Segmentation: Approaches and Challenges
Image Segmentation: Approaches and Challenges
Apache MXNet
?
ChatOps, Automation & Agile
ChatOps, Automation & Agile ChatOps, Automation & Agile
ChatOps, Automation & Agile
Addteq
?
ChatOps, Automation & Agile
ChatOps, Automation & Agile ChatOps, Automation & Agile
ChatOps, Automation & Agile
Addteq
?
Let's go HTTPS-only! - More Than Buying a Certificate
Let's go HTTPS-only! - More Than Buying a CertificateLet's go HTTPS-only! - More Than Buying a Certificate
Let's go HTTPS-only! - More Than Buying a Certificate
Steffen Gebert
?
Web browsers & the realtime web
Web browsers & the realtime webWeb browsers & the realtime web
Web browsers & the realtime web
Phil Leggetter
?
The New Design Workflow
The New Design WorkflowThe New Design Workflow
The New Design Workflow
Phase2
?
With Great Nerdery Comes Great Responsibility
With Great Nerdery Comes Great Responsibility With Great Nerdery Comes Great Responsibility
With Great Nerdery Comes Great Responsibility
John Anderson
?
Digital Fabrication Studio v.0.2: Digital Fabrication and FabLab ecosystem
Digital Fabrication Studio v.0.2: Digital Fabrication and FabLab ecosystemDigital Fabrication Studio v.0.2: Digital Fabrication and FabLab ecosystem
Digital Fabrication Studio v.0.2: Digital Fabrication and FabLab ecosystem
Massimo Menichinelli
?
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
? Hanno Embregts ?
?
GAN for business value @ Data Science Milan
GAN for business value @ Data Science MilanGAN for business value @ Data Science Milan
GAN for business value @ Data Science Milan
Alex Honchar
?
[ICLR2017 Reading Meeting@DeNA] Introduction of ICLR2017
[ICLR2017 Reading Meeting@DeNA] Introduction of ICLR2017[ICLR2017 Reading Meeting@DeNA] Introduction of ICLR2017
[ICLR2017 Reading Meeting@DeNA] Introduction of ICLR2017
Takeru Miyato
?
Introduction to Open Source by opensource.hk (2019 Edition)
Introduction to Open Source by opensource.hk (2019 Edition)Introduction to Open Source by opensource.hk (2019 Edition)
Introduction to Open Source by opensource.hk (2019 Edition)
Sammy Fung
?
Diving Deeper: Inside Mallard and the GNOME Help System
Diving Deeper: Inside Mallard and the GNOME Help SystemDiving Deeper: Inside Mallard and the GNOME Help System
Diving Deeper: Inside Mallard and the GNOME Help System
Shaun McCance
?
Experiments in Data Portability 2
Experiments in Data Portability 2Experiments in Data Portability 2
Experiments in Data Portability 2
Glenn Jones
?
Building Secure Open & Distributed Social Networks
Building Secure Open & Distributed Social NetworksBuilding Secure Open & Distributed Social Networks
Building Secure Open & Distributed Social Networks
Henry Story
?
Open Source: Beyond the Code
Open Source: Beyond the CodeOpen Source: Beyond the Code
Open Source: Beyond the Code
Kerri Shotts
?
Pharo Update
Pharo Update Pharo Update
Pharo Update
ESUG
?
Luigi Presentation at OSCON 2013
Luigi Presentation at OSCON 2013Luigi Presentation at OSCON 2013
Luigi Presentation at OSCON 2013
Erik Bernhardsson
?
Image Segmentation: Approaches and Challenges
Image Segmentation: Approaches and ChallengesImage Segmentation: Approaches and Challenges
Image Segmentation: Approaches and Challenges
Apache MXNet
?
ChatOps, Automation & Agile
ChatOps, Automation & Agile ChatOps, Automation & Agile
ChatOps, Automation & Agile
Addteq
?
ChatOps, Automation & Agile
ChatOps, Automation & Agile ChatOps, Automation & Agile
ChatOps, Automation & Agile
Addteq
?
Let's go HTTPS-only! - More Than Buying a Certificate
Let's go HTTPS-only! - More Than Buying a CertificateLet's go HTTPS-only! - More Than Buying a Certificate
Let's go HTTPS-only! - More Than Buying a Certificate
Steffen Gebert
?
Web browsers & the realtime web
Web browsers & the realtime webWeb browsers & the realtime web
Web browsers & the realtime web
Phil Leggetter
?
The New Design Workflow
The New Design WorkflowThe New Design Workflow
The New Design Workflow
Phase2
?

Recently uploaded (20)

Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
All Things Open
?
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
?
Unleash the Power of Symfony Messenger
Unleash the  Power  of Symfony MessengerUnleash the  Power  of Symfony Messenger
Unleash the Power of Symfony Messenger
Kris Wallsmith
?
The Best of Both Worlds: Hybrid Clustering with Delta Lake
The Best of Both Worlds: Hybrid Clustering with Delta LakeThe Best of Both Worlds: Hybrid Clustering with Delta Lake
The Best of Both Worlds: Hybrid Clustering with Delta Lake
carlyakerly1
?
Step-Into-the-Game-Augmented-Reality-Gaming-Explained.pptx
Step-Into-the-Game-Augmented-Reality-Gaming-Explained.pptxStep-Into-the-Game-Augmented-Reality-Gaming-Explained.pptx
Step-Into-the-Game-Augmented-Reality-Gaming-Explained.pptx
BR Softech
?
Large Language Models vs Small Language Models
Large Language Models vs Small Language ModelsLarge Language Models vs Small Language Models
Large Language Models vs Small Language Models
Nathan Bijnens
?
Diving into LTI: From the basics to Deep Linking
Diving into LTI: From the basics to Deep LinkingDiving into LTI: From the basics to Deep Linking
Diving into LTI: From the basics to Deep Linking
Rustici Software
?
Comprehensive Guide to Ansible Application Roles.pdf
Comprehensive Guide to Ansible Application Roles.pdfComprehensive Guide to Ansible Application Roles.pdf
Comprehensive Guide to Ansible Application Roles.pdf
RHCSA Guru
?
Salesforce Welly March 2025User Group Meeting
Salesforce Welly March 2025User Group MeetingSalesforce Welly March 2025User Group Meeting
Salesforce Welly March 2025User Group Meeting
Anna Loughnan Colquhoun
?
DONT PANIC: AI IS COMING C The Hitchhikers Guide to AI - Mark Hinkle, Perip...
DONT PANIC: AI IS COMING C The Hitchhikers Guide to AI - Mark Hinkle, Perip...DONT PANIC: AI IS COMING C The Hitchhikers Guide to AI - Mark Hinkle, Perip...
DONT PANIC: AI IS COMING C The Hitchhikers Guide to AI - Mark Hinkle, Perip...
All Things Open
?
Women in Automation: Career Development & Leadership in Automation
Women in Automation: Career Development & Leadership in AutomationWomen in Automation: Career Development & Leadership in Automation
Women in Automation: Career Development & Leadership in Automation
UiPathCommunity
?
UiPath Automation Developer Associate Training Series 2025 - Session 6
UiPath Automation Developer Associate Training Series 2025 - Session 6UiPath Automation Developer Associate Training Series 2025 - Session 6
UiPath Automation Developer Associate Training Series 2025 - Session 6
DianaGray10
?
Using Tags in Ansible Playbooks RHCE.pdf
Using Tags in Ansible Playbooks RHCE.pdfUsing Tags in Ansible Playbooks RHCE.pdf
Using Tags in Ansible Playbooks RHCE.pdf
RHCSA Guru
?
From Strategy To Execution In Hypergrowth
From Strategy To Execution In HypergrowthFrom Strategy To Execution In Hypergrowth
From Strategy To Execution In Hypergrowth
Pete Nieminen
?
Don't just talk to AI, do more with AI: how to improve productivity with AI a...
Don't just talk to AI, do more with AI: how to improve productivity with AI a...Don't just talk to AI, do more with AI: how to improve productivity with AI a...
Don't just talk to AI, do more with AI: how to improve productivity with AI a...
All Things Open
?
The Death of the Browser - Rachel-Lee Nabors, AgentQL
The Death of the Browser - Rachel-Lee Nabors, AgentQLThe Death of the Browser - Rachel-Lee Nabors, AgentQL
The Death of the Browser - Rachel-Lee Nabors, AgentQL
All Things Open
?
Ansible Variables in Playbook - RHCE.pdf
Ansible Variables in Playbook - RHCE.pdfAnsible Variables in Playbook - RHCE.pdf
Ansible Variables in Playbook - RHCE.pdf
RHCSA Guru
?
AI Revolution unleashed with AI Foundry at AI Tour Brussels
AI Revolution unleashed with AI Foundry at AI Tour BrusselsAI Revolution unleashed with AI Foundry at AI Tour Brussels
AI Revolution unleashed with AI Foundry at AI Tour Brussels
Nathan Bijnens
?
Cloud Computing The Future of Technology
Cloud Computing The Future of TechnologyCloud Computing The Future of Technology
Cloud Computing The Future of Technology
joelmcapg
?
Security Policies MuleSoft API Manager Mule4
Security Policies MuleSoft API Manager Mule4Security Policies MuleSoft API Manager Mule4
Security Policies MuleSoft API Manager Mule4
Adalberto Toledo
?
Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
All Things Open
?
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
?
Unleash the Power of Symfony Messenger
Unleash the  Power  of Symfony MessengerUnleash the  Power  of Symfony Messenger
Unleash the Power of Symfony Messenger
Kris Wallsmith
?
The Best of Both Worlds: Hybrid Clustering with Delta Lake
The Best of Both Worlds: Hybrid Clustering with Delta LakeThe Best of Both Worlds: Hybrid Clustering with Delta Lake
The Best of Both Worlds: Hybrid Clustering with Delta Lake
carlyakerly1
?
Step-Into-the-Game-Augmented-Reality-Gaming-Explained.pptx
Step-Into-the-Game-Augmented-Reality-Gaming-Explained.pptxStep-Into-the-Game-Augmented-Reality-Gaming-Explained.pptx
Step-Into-the-Game-Augmented-Reality-Gaming-Explained.pptx
BR Softech
?
Large Language Models vs Small Language Models
Large Language Models vs Small Language ModelsLarge Language Models vs Small Language Models
Large Language Models vs Small Language Models
Nathan Bijnens
?
Diving into LTI: From the basics to Deep Linking
Diving into LTI: From the basics to Deep LinkingDiving into LTI: From the basics to Deep Linking
Diving into LTI: From the basics to Deep Linking
Rustici Software
?
Comprehensive Guide to Ansible Application Roles.pdf
Comprehensive Guide to Ansible Application Roles.pdfComprehensive Guide to Ansible Application Roles.pdf
Comprehensive Guide to Ansible Application Roles.pdf
RHCSA Guru
?
Salesforce Welly March 2025User Group Meeting
Salesforce Welly March 2025User Group MeetingSalesforce Welly March 2025User Group Meeting
Salesforce Welly March 2025User Group Meeting
Anna Loughnan Colquhoun
?
DONT PANIC: AI IS COMING C The Hitchhikers Guide to AI - Mark Hinkle, Perip...
DONT PANIC: AI IS COMING C The Hitchhikers Guide to AI - Mark Hinkle, Perip...DONT PANIC: AI IS COMING C The Hitchhikers Guide to AI - Mark Hinkle, Perip...
DONT PANIC: AI IS COMING C The Hitchhikers Guide to AI - Mark Hinkle, Perip...
All Things Open
?
Women in Automation: Career Development & Leadership in Automation
Women in Automation: Career Development & Leadership in AutomationWomen in Automation: Career Development & Leadership in Automation
Women in Automation: Career Development & Leadership in Automation
UiPathCommunity
?
UiPath Automation Developer Associate Training Series 2025 - Session 6
UiPath Automation Developer Associate Training Series 2025 - Session 6UiPath Automation Developer Associate Training Series 2025 - Session 6
UiPath Automation Developer Associate Training Series 2025 - Session 6
DianaGray10
?
Using Tags in Ansible Playbooks RHCE.pdf
Using Tags in Ansible Playbooks RHCE.pdfUsing Tags in Ansible Playbooks RHCE.pdf
Using Tags in Ansible Playbooks RHCE.pdf
RHCSA Guru
?
From Strategy To Execution In Hypergrowth
From Strategy To Execution In HypergrowthFrom Strategy To Execution In Hypergrowth
From Strategy To Execution In Hypergrowth
Pete Nieminen
?
Don't just talk to AI, do more with AI: how to improve productivity with AI a...
Don't just talk to AI, do more with AI: how to improve productivity with AI a...Don't just talk to AI, do more with AI: how to improve productivity with AI a...
Don't just talk to AI, do more with AI: how to improve productivity with AI a...
All Things Open
?
The Death of the Browser - Rachel-Lee Nabors, AgentQL
The Death of the Browser - Rachel-Lee Nabors, AgentQLThe Death of the Browser - Rachel-Lee Nabors, AgentQL
The Death of the Browser - Rachel-Lee Nabors, AgentQL
All Things Open
?
Ansible Variables in Playbook - RHCE.pdf
Ansible Variables in Playbook - RHCE.pdfAnsible Variables in Playbook - RHCE.pdf
Ansible Variables in Playbook - RHCE.pdf
RHCSA Guru
?
AI Revolution unleashed with AI Foundry at AI Tour Brussels
AI Revolution unleashed with AI Foundry at AI Tour BrusselsAI Revolution unleashed with AI Foundry at AI Tour Brussels
AI Revolution unleashed with AI Foundry at AI Tour Brussels
Nathan Bijnens
?
Cloud Computing The Future of Technology
Cloud Computing The Future of TechnologyCloud Computing The Future of Technology
Cloud Computing The Future of Technology
joelmcapg
?
Security Policies MuleSoft API Manager Mule4
Security Policies MuleSoft API Manager Mule4Security Policies MuleSoft API Manager Mule4
Security Policies MuleSoft API Manager Mule4
Adalberto Toledo
?

Fast neural style