SlideShare a Scribd company logo
1 of 47
Download to read offline
Neural	
  Art	
  
	
  by	
  Mark	
  Chang	
  
A	
  Neural	
  Algorithm	
  of	
  Ar6s6c	
  Style	
  
•  Author:	
  
– Leon	
  A.	
  Gatys.	
  	
  
– Alexander	
  S.	
  Ecker.	
  	
  
– Ma@hias	
  Bethge	
  	
  
•  Organiza6on:	
  
– Werner	
  Reichardt	
  Centre	
  for	
  Integra6ve	
  Neuroscience	
  
and	
  Ins6tute	
  of	
  Theore6cal	
  Physics,	
  University	
  of	
  
Tubingen,	
  Germany.	
  	
  	
  
– Bernstein	
  Center	
  for	
  Computa6onal	
  Neuroscience,	
  
Tubingen,	
  Germany.	
  
The	
  Mechanism	
  of	
  Pain6ng	
  
Brain	
  Ar6st	
  
Scene	
   Style	
   ArtWork	
  
Computer	
   Neural	
  Networks	
  
Overview	
  
•  Visual	
  Percep6on	
  
•  Computer	
  Vision	
  
•  Neural	
  Art	
  
•  Demo	
  
Visual	
  Percep6on	
  
•  Neuron	
  
•  Visual	
  Pathway	
  
•  Misconcep6on	
  
Neuron	
  
•  Neuron	
   •  Ac6on	
  Poten6al	
  
Dendrite	
  
Axon	
  
Cell	
  Body	
  
Time	
  
Voltage	
  
Threshold	
  
Visual	
  Pathway	
  
Re6na	
  
Visual	
  Area	
  V1	
  
Visual	
  Area	
  V4	
  
Inferior	
  
Temporal	
  Gyrus	
  
(IT)	
  
Visual	
  Pathway	
  
Visual	
  Area	
  V1	
  
Inferior	
  
Temporal	
  
Gyrus	
  (IT)	
  
Recep6ve	
  Fields	
  
Visual	
  Area	
  V4	
  
Misconcep6on	
  
Computer	
  Vision	
  
•  Neural	
  Networks	
  	
  
•  Convolu6onal	
  Neural	
  Networks	
  
•  VGG	
  19	
  
Neural	
  Networks	
  	
  
n
W1
W2
x1
x2
b
 Wb
y
nin = w1x1 + w2x2 + wb
nout =
1
1 + e nin
Sigmoid	
  
Rec6fied	
  Linear	
  
nout =
⇢
nin if nin > 0
0 otherwise
Neural	
  Networks	
  	
  
x
y
n11
n12
n21
n22
b b
z1
z2
Input	
  	
  
Layer
Hidden	
  
Layer
Output	
  
Layer
W12,y
W12,x
W11,y
W11,b
W12,b
W11,x
 W21,11
W22,12
W21,12
W22,11
W21,b
W22,b
Convolu6onal	
  Neural	
  Networks	
  
•  Convolu6onal	
  Layer
depth	
  
width	
  width	
  	
  depth	
  
weights	
  weights	
  
height	
  
shared	
  weight	
  
Convolu6onal	
  Neural	
  Networks	
  
•  Stride
 •  Padding
Stride	
  =	
  1	
  
Stride	
  =	
  2	
  
Padding	
  =	
  0	
  
Padding	
  =	
  1	
  
Convolu6onal	
  Neural	
  Networks	
  
•  Pooling	
  Layer	
  
1
 3
 2
 4
5
 7
 6
 8
0
 0
 4
 4
6
 6
 0
 0
4
 5
3
 2
no	
  overlap	
  
no	
  padding	
   no	
  weights	
  
depth	
  =	
  1	
  
7
 8
6
 4
Maximum	
  
Pooling	
  
Average	
  
Pooling	
  
Convolu6onal	
  Neural	
  Networks	
  
Convolu6onal	
  
Layer	
  
Convolu6onal	
  
Layer	
  	
   Pooling	
  
Layer	
  	
  
Pooling	
  
Layer	
  	
  
Recep6ve	
  Fields	
  
Recep6ve	
  Fields	
  
Input	
  
Layer	
  
Convolu6onal	
  Neural	
  Networks	
  
Input	
  Layer	
  
Convolu6onal	
  
Layer	
  with	
  
Recep6ve	
  Fields:	
  
Max-­‐pooling	
  
Layer	
  with	
  
Width	
  =3,	
  Height	
  =	
  3	
  
Filter	
  Responses	
  
Filter	
  Responses	
  
Input	
  Image	
  
VGG	
  19	
  
•  Karen	
  Simonyan	
  &	
  Andrew	
  Zisserman.	
  Very	
  Deep	
  
Convolu6onal	
  Networks	
  for	
  Large-­‐scale	
  Image	
  
Recogni6on.	
  
•  ImageNet	
  Challenge	
  2014	
  
•  19	
  (+5)	
  layers	
  
– 16	
  Convolu6onal	
  layers	
  (width=3,	
  height=3)	
  
– 5	
  Max-­‐pooling	
  layers	
  (width=2,	
  height=2)	
  
– 3	
  Fully-­‐connected	
  layers	
  
VGG	
  19	
  
depth=64	
  
conv1_1	
  
conv1_2	
  
maxpool
depth=128	
  
conv2_1	
  
conv2_2
maxpool
depth=256	
  
conv3_1	
  
conv3_2	
  
conv3_3	
  
conv3_4
depth=512	
  
conv4_1	
  
conv4_2	
  
conv4_3	
  
conv4_4
depth=512	
  
conv5_1	
  
conv5_2	
  
conv5_3	
  
conv5_4
maxpool
 maxpool
 maxpool
size=4096	
  
FC1	
  
FC2	
  
size=1000	
  
sogmax
Neural	
  Art	
  
•  Content	
  Genera6on	
  
•  Style	
  Genera6on	
  
•  Artwork	
  Genera6on	
  
Content	
  Genera6on	
  
Brain	
  Ar6st	
  Content	
  
Canvas	
  
Minimize	
  
the	
  
difference	
  
Neural	
  
S6mula6on	
  
Draw	
  
Content	
  Genera6on	
  
Filter	
  	
  
Responses	
  VGG19	
  
Update	
  the	
  
color	
  of	
  	
  
the	
  pixels	
  
Content	
  
Canvas	
  
Result	
  
Width*Height	
  
Depth	
  
Minimize	
  
the	
  
difference	
  
Content	
  Genera6on	
  
Layer	
  l’s	
  Filter	
  l	
  
Responses:	
  
ent(Pl
, Cl
) =
1
2
X
i,j
(Cl
i,j Pl
i,j)2
Layer	
  l’s	
  Filter	
  	
  
Responses:	
  Lcontent(P l
, Cl
) =
1
2
X
i,j
(Cl
i,j P l
i,j)2
Input	
  
Photo:	
  Lcontent(p, c, l) =
1
2
X
i,j
(Cl
i,j Pl
i,j)2
Lcontent(p, x, l) =
1
2
X
i,j
(Xl
i,j Pl
i,j)2
@Lcontent(p, x, l)
@Xl
i,j
= Xl
i,j Pl
i,j
Xl
Xl
i,j
Input	
  
Canvas:	
  x
Width*Height	
  (j)	
  
Depth	
  (i)	
  
Width*Height	
  (j)	
  
Depth	
  (i)	
  
Content	
  Genera6on	
  
•  Backward	
  Propaga6on	
  
Layer	
  l’s	
  Filter	
  l	
  
Responses:	
  Xl
Input	
  
Canvas:	
  
x
VGG19	
  
@Lcontent
@x
=
@Lcontent
@Xl
@Xl
x
x x ⌘
@Lcontent
@x
Update	
  
Canvas	
  
Learning	
  Rate	
  
Content	
  Genera6on	
  
Content	
  Genera6on	
  
VGG19	
  
conv1_2	
   conv2_2	
   conv3_4	
   conv4_4	
   conv5_2	
  conv5_1	
  
Style	
  Genera6on	
  
•  ”Style”	
  is	
  posi6on-­‐independent	
  
style	
  
extrac6on	
  
Style	
  Genera6on	
  
VGG19	
  Artwork	
  
G	
  
G	
  
Filter	
  Responses	
   Gram	
  Matrix	
  
Width*Height	
  
Depth	
  
Depth	
  
Depth	
  
Posi6on-­‐	
  
dependent	
  
Posi6on-­‐	
  
independent	
  
Style	
  Genera6on	
  
1.
 .5
.5
.5
1.
1.	
   .5
 .25
 1.
.5
 .25
 .5
.25
 .25
1.
 .5
 1.
Width*Height	
  
Depth	
  
k1	
   k2	
  
k1	
  
k2	
  
Depth	
  
Depth	
  
Layer	
  l’s	
  Filter	
  Responses	
  
Gram	
  Matrix	
  
Fl
1
Fl
2
Fl
3
Fl
4
Fl
1
Fl
2
Fl
3
Fl
4
G	
  
	
  
	
  
	
  
Gl
i,j = Fl
i · Fl
j
Gl
4,1 = Fl
4 · Fl
1
= 1 ⇥ 1 + 0 ⇥ 0.5 + 0 ⇥ 0 + ...
= 1
Style	
  Genera6on	
  
VGG19	
  
Filter	
  
	
  Responses	
  
Gram	
  	
  
Matrix	
  
Minimize	
  
the	
  
difference	
  
G	
  
G	
  
Style	
  
Canvas	
  
Update	
  the	
  color	
  of	
  	
  
the	
  pixels	
  Result	
  
Style	
  Genera6on	
  
Lstyle(a, x, l) =
1
2
X
i,j
(Xl
i,j Al
i,j)2
@Lstyle(a, x, l)
@Fl
i,j
= ((Fl
)T
(Xl
Al
))j,i
Layer	
  l’s	
  	
  
Filter	
  Responses	
  
Layer	
  l’s	
  	
  
Gram	
  Matrix	
  
Layer	
  l’s	
  	
  
Gram	
  Matrix	
  
Fl
i,j
Al
i,j Xl
i,j
Input	
  
Artwork:	
  
Input	
  
Canvas:	
  a x
Style	
  Genera6on	
  
Style	
  Genera6on	
  
VGG19	
  
Conv1_1	
   Conv1_1	
  
Conv2_1	
  
Conv1_1	
  
Conv2_1	
  
Conv3_1	
  
	
  
Conv1_1	
  
Conv2_1	
  
Conv3_1	
  
Conv4_1	
  
Conv1_1	
  
Conv2_1	
  
Conv3_1	
  
Conv4_1	
  
Conv5_1	
  
Artwork	
  Genera6on	
  
Ltotal = ↵Lcontent + Lstyle
a
ent(p, c, l) =
1
2
X
i,j
(Cl
i,j Pl
i,j)2
x
x x ⌘
@Ltotal
@x
x
Filter	
  Responses	
  VGG19	
  
Lcontent(p, x)
Lstyle(a, x)
Gram	
  Matrix	
  
Artwork	
  Genera6on	
  
VGG19	
   VGG19	
  
Lcontent(p, x) Lstyle(a, x)
Conv1_1	
  
Conv2_1	
  
Conv3_1	
  
Conv4_1	
  
Conv5_1	
  
Conv4_2	
  
Ltotal = ↵Lcontent + Lstyle
Artwork	
  Genera6on	
  
Demo	
  
•  Content	
  v.s.	
  Style	
  
•  Different	
  Ini6al	
  State	
  
•  Different	
  VGG	
  Layers	
  
•  Sketch	
  &	
  Watercolor	
  
•  Pain6ng	
  &	
  Poem	
  
Content	
  v.s.	
  Style	
  
0.15	
   0.05	
  
0.02	
   0.007	
  
↵
Different	
  Ini6al	
  State	
  
noise	
   0.9	
  *noise	
  +	
  0.1*photo	
   photo	
  
Different	
  VGG	
  Layers	
  
Conv1_1	
  
Conv2_1	
  
Conv1_1	
  
Conv2_1	
  
Conv3_1	
  
Conv1_1	
  
Conv2_1	
  
Conv3_1	
  
Conv4_1	
  
Conv1_1	
  
Conv2_1	
  
Conv3_1	
  
Conv4_1	
  
Conv5_1	
  
↵
= 0.002
Sketch	
  &	
  Watercolor	
  
Pain6ng	
  &	
  Poem	
  
Further	
  Reading	
  
•  A	
  Neural	
  Algorithm	
  of	
  Ar6s6c	
  Style	
  
–  h@p://arxiv.org/abs/1508.06576	
  
•  Texture	
  Synthesis	
  Using	
  Convolu6onal	
  Neural	
  Networks	
  
–  h@p://arxiv.org/abs/1505.07376	
  
•  Convolu6onal	
  Neural	
  Network	
  
–  h@p://cs231n.github.io/convolu6onal-­‐networks/	
  
•  Neural	
  Network	
  Back	
  Propaga6on	
  
–  h@p://cpmarkchang.logdown.com/posts/277349-­‐neural-­‐
network-­‐backward-­‐propaga6on	
  
•  Computa6onal	
  Poetry:	
  
–  h@p://www.slideshare.net/ckmarkohchang/computa6onal-­‐
poetry	
  
Code
•  Python	
  Tensorflow	
  
– h@ps://github.com/ckmarkoh/neuralart_tensorflow	
  
•  Python	
  Theano	
  
– h@ps://github.com/woonketwong/ar6fy	
  
•  Python	
  Theano	
  (ipython	
  notebook)	
  
– h@ps://github.com/Lasagne/Recipes/blob/master/
examples/styletransfer/Art%20Style
%20Transfer.ipynb	
  
•  Python	
  deeppy	
  
– h@ps://github.com/andersbll/neural_ar6s6c_style	
  
Image	
  URL	
  
•  h@p://
www.taipei-­‐101.com.tw/
upload/news/
201502/2015021711505431
705145.JPG	
  	
  
	
  
•  h@ps://github.com/
andersbll/
neural_ar6s6c_style/blob/
master/images/
starry_night.jpg?raw=true	
  
Acknowledgement	
  
•  NTU	
  imlab	
  
About	
  the	
  Speaker	
  
•  Email:	
  ckmarkoh	
  at	
  gmail	
  dot	
  com	
  
•  Blog:	
  h@p://cpmarkchang.logdown.com	
  
•  Github:	
  h@ps://github.com/ckmarkoh	
  
Mark	
  Chang	
  
•  Facebook:	
  h@ps://www.facebook.com/ckmarkoh.chang	
  
•  Slideshare:	
  h@p://www.slideshare.net/ckmarkohchang	
  
•  Linkedin:	
  h@ps://www.linkedin.com/pub/mark-­‐chang/85/25b/847	
  

More Related Content

What's hot

Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...MLconf
 
A non-stiff boundary integral method for internal waves
A non-stiff boundary integral method for internal wavesA non-stiff boundary integral method for internal waves
A non-stiff boundary integral method for internal wavesAlex (Oleksiy) Varfolomiyev
 
Topology Matters in Communication
Topology Matters in CommunicationTopology Matters in Communication
Topology Matters in Communicationcseiitgn
 
Predicate-Preserving Collision-Resistant Hashing
Predicate-Preserving  Collision-Resistant HashingPredicate-Preserving  Collision-Resistant Hashing
Predicate-Preserving Collision-Resistant HashingPhilippe Camacho, Ph.D.
 
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...Universitat Politècnica de Catalunya
 
Writing your own Neural Network.
Writing your own Neural Network.Writing your own Neural Network.
Writing your own Neural Network.shafkatdu9212
 
Sliced Wasserstein距離と生成モデル
Sliced Wasserstein距離と生成モデルSliced Wasserstein距離と生成モデル
Sliced Wasserstein距離と生成モデルohken
 
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)Universitat Politècnica de Catalunya
 
Introduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from ScratchIntroduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from ScratchAhmed BESBES
 
Introduction to CNN with Application to Object Recognition
Introduction to CNN with Application to Object RecognitionIntroduction to CNN with Application to Object Recognition
Introduction to CNN with Application to Object RecognitionArtifacia
 
[Vldb 2013] skyline operator on anti correlated distributions
[Vldb 2013] skyline operator on anti correlated distributions[Vldb 2013] skyline operator on anti correlated distributions
[Vldb 2013] skyline operator on anti correlated distributionsWooSung Choi
 
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...Hansol Kang
 
fast-matmul-ppopp2015
fast-matmul-ppopp2015fast-matmul-ppopp2015
fast-matmul-ppopp2015Austin Benson
 
NTU ML TENSORFLOW
NTU ML TENSORFLOWNTU ML TENSORFLOW
NTU ML TENSORFLOWMark Chang
 
Stockholm AI study group #1 - Style Transfer
Stockholm AI study group #1 - Style TransferStockholm AI study group #1 - Style Transfer
Stockholm AI study group #1 - Style TransferLars Lowe Sjösund
 
Generative Adversarial Networks
Generative Adversarial NetworksGenerative Adversarial Networks
Generative Adversarial NetworksMark Chang
 
Variational Autoencoder Tutorial
Variational Autoencoder Tutorial Variational Autoencoder Tutorial
Variational Autoencoder Tutorial Hojin Yang
 
Deep Generative Models
Deep Generative ModelsDeep Generative Models
Deep Generative ModelsMijung Kim
 

What's hot (20)

Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
 
A non-stiff boundary integral method for internal waves
A non-stiff boundary integral method for internal wavesA non-stiff boundary integral method for internal waves
A non-stiff boundary integral method for internal waves
 
Topology Matters in Communication
Topology Matters in CommunicationTopology Matters in Communication
Topology Matters in Communication
 
Predicate-Preserving Collision-Resistant Hashing
Predicate-Preserving  Collision-Resistant HashingPredicate-Preserving  Collision-Resistant Hashing
Predicate-Preserving Collision-Resistant Hashing
 
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
Deep Generative Models I (DLAI D9L2 2017 UPC Deep Learning for Artificial Int...
 
Writing your own Neural Network.
Writing your own Neural Network.Writing your own Neural Network.
Writing your own Neural Network.
 
Sliced Wasserstein距離と生成モデル
Sliced Wasserstein距離と生成モデルSliced Wasserstein距離と生成モデル
Sliced Wasserstein距離と生成モデル
 
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
Backpropagation (DLAI D3L1 2017 UPC Deep Learning for Artificial Intelligence)
 
Introduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from ScratchIntroduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from Scratch
 
Introduction to CNN with Application to Object Recognition
Introduction to CNN with Application to Object RecognitionIntroduction to CNN with Application to Object Recognition
Introduction to CNN with Application to Object Recognition
 
Lecture9 xing
Lecture9 xingLecture9 xing
Lecture9 xing
 
[Vldb 2013] skyline operator on anti correlated distributions
[Vldb 2013] skyline operator on anti correlated distributions[Vldb 2013] skyline operator on anti correlated distributions
[Vldb 2013] skyline operator on anti correlated distributions
 
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
 
fast-matmul-ppopp2015
fast-matmul-ppopp2015fast-matmul-ppopp2015
fast-matmul-ppopp2015
 
NTU ML TENSORFLOW
NTU ML TENSORFLOWNTU ML TENSORFLOW
NTU ML TENSORFLOW
 
Stockholm AI study group #1 - Style Transfer
Stockholm AI study group #1 - Style TransferStockholm AI study group #1 - Style Transfer
Stockholm AI study group #1 - Style Transfer
 
Generative Adversarial Networks
Generative Adversarial NetworksGenerative Adversarial Networks
Generative Adversarial Networks
 
Variational Autoencoder Tutorial
Variational Autoencoder Tutorial Variational Autoencoder Tutorial
Variational Autoencoder Tutorial
 
Deep Generative Models
Deep Generative ModelsDeep Generative Models
Deep Generative Models
 
그림 그리는 AI
그림 그리는 AI그림 그리는 AI
그림 그리는 AI
 

Viewers also liked

The Genome Assembly Problem
The Genome Assembly ProblemThe Genome Assembly Problem
The Genome Assembly ProblemMark Chang
 
TensorFlow 深度學習快速上手班--電腦視覺應用
TensorFlow 深度學習快速上手班--電腦視覺應用TensorFlow 深度學習快速上手班--電腦視覺應用
TensorFlow 深度學習快速上手班--電腦視覺應用Mark Chang
 
TensorFlow 深度學習快速上手班--深度學習
 TensorFlow 深度學習快速上手班--深度學習 TensorFlow 深度學習快速上手班--深度學習
TensorFlow 深度學習快速上手班--深度學習Mark Chang
 
TensorFlow 深度學習快速上手班--自然語言處理應用
TensorFlow 深度學習快速上手班--自然語言處理應用TensorFlow 深度學習快速上手班--自然語言處理應用
TensorFlow 深度學習快速上手班--自然語言處理應用Mark Chang
 
Computational Linguistics week 10
 Computational Linguistics week 10 Computational Linguistics week 10
Computational Linguistics week 10Mark Chang
 
DRAW: Deep Recurrent Attentive Writer
DRAW: Deep Recurrent Attentive WriterDRAW: Deep Recurrent Attentive Writer
DRAW: Deep Recurrent Attentive WriterMark Chang
 
Variational Autoencoder
Variational AutoencoderVariational Autoencoder
Variational AutoencoderMark Chang
 
AlphaGo in Depth
AlphaGo in Depth AlphaGo in Depth
AlphaGo in Depth Mark Chang
 
TensorFlow 深度學習講座
TensorFlow 深度學習講座TensorFlow 深度學習講座
TensorFlow 深度學習講座Mark Chang
 
Image completion
Image completionImage completion
Image completionMark Chang
 
淺談深度學習
淺談深度學習淺談深度學習
淺談深度學習Mark Chang
 
PyData London CNN Lightning Talk
PyData London CNN Lightning TalkPyData London CNN Lightning Talk
PyData London CNN Lightning TalkEddie Bell
 
民主的網路世代—推動罷免的工程師們
民主的網路世代—推動罷免的工程師們民主的網路世代—推動罷免的工程師們
民主的網路世代—推動罷免的工程師們Mark Chang
 
自然語言處理簡介
自然語言處理簡介自然語言處理簡介
自然語言處理簡介Mark Chang
 
Deep Learning behind Prisma
Deep Learning behind PrismaDeep Learning behind Prisma
Deep Learning behind Prismalostleaves
 
Deep Neural Networks 
that talk (Back)… with style
Deep Neural Networks 
that talk (Back)… with styleDeep Neural Networks 
that talk (Back)… with style
Deep Neural Networks 
that talk (Back)… with styleRoelof Pieters
 
TensorFlow 深度學習快速上手班--機器學習
TensorFlow 深度學習快速上手班--機器學習TensorFlow 深度學習快速上手班--機器學習
TensorFlow 深度學習快速上手班--機器學習Mark Chang
 

Viewers also liked (20)

Neural Doodle
Neural DoodleNeural Doodle
Neural Doodle
 
The Genome Assembly Problem
The Genome Assembly ProblemThe Genome Assembly Problem
The Genome Assembly Problem
 
TensorFlow 深度學習快速上手班--電腦視覺應用
TensorFlow 深度學習快速上手班--電腦視覺應用TensorFlow 深度學習快速上手班--電腦視覺應用
TensorFlow 深度學習快速上手班--電腦視覺應用
 
TensorFlow 深度學習快速上手班--深度學習
 TensorFlow 深度學習快速上手班--深度學習 TensorFlow 深度學習快速上手班--深度學習
TensorFlow 深度學習快速上手班--深度學習
 
TensorFlow 深度學習快速上手班--自然語言處理應用
TensorFlow 深度學習快速上手班--自然語言處理應用TensorFlow 深度學習快速上手班--自然語言處理應用
TensorFlow 深度學習快速上手班--自然語言處理應用
 
Computational Linguistics week 10
 Computational Linguistics week 10 Computational Linguistics week 10
Computational Linguistics week 10
 
DRAW: Deep Recurrent Attentive Writer
DRAW: Deep Recurrent Attentive WriterDRAW: Deep Recurrent Attentive Writer
DRAW: Deep Recurrent Attentive Writer
 
Variational Autoencoder
Variational AutoencoderVariational Autoencoder
Variational Autoencoder
 
AlphaGo in Depth
AlphaGo in Depth AlphaGo in Depth
AlphaGo in Depth
 
TensorFlow 深度學習講座
TensorFlow 深度學習講座TensorFlow 深度學習講座
TensorFlow 深度學習講座
 
Image completion
Image completionImage completion
Image completion
 
淺談深度學習
淺談深度學習淺談深度學習
淺談深度學習
 
PyData London CNN Lightning Talk
PyData London CNN Lightning TalkPyData London CNN Lightning Talk
PyData London CNN Lightning Talk
 
民主的網路世代—推動罷免的工程師們
民主的網路世代—推動罷免的工程師們民主的網路世代—推動罷免的工程師們
民主的網路世代—推動罷免的工程師們
 
自然語言處理簡介
自然語言處理簡介自然語言處理簡介
自然語言處理簡介
 
Deep Learning behind Prisma
Deep Learning behind PrismaDeep Learning behind Prisma
Deep Learning behind Prisma
 
Deep Neural Networks 
that talk (Back)… with style
Deep Neural Networks 
that talk (Back)… with styleDeep Neural Networks 
that talk (Back)… with style
Deep Neural Networks 
that talk (Back)… with style
 
TensorFlow 深度學習快速上手班--機器學習
TensorFlow 深度學習快速上手班--機器學習TensorFlow 深度學習快速上手班--機器學習
TensorFlow 深度學習快速上手班--機器學習
 
Mvit
MvitMvit
Mvit
 
Neural artistic style
Neural artistic styleNeural artistic style
Neural artistic style
 

Similar to Neural Art Generation Using Convolutional Neural Networks

Neural network basic and introduction of Deep learning
Neural network basic and introduction of Deep learningNeural network basic and introduction of Deep learning
Neural network basic and introduction of Deep learningTapas Majumdar
 
Deep learning study 2
Deep learning study 2Deep learning study 2
Deep learning study 2San Kim
 
Convolutional Neural Networks - Veronica Vilaplana - UPC Barcelona 2018
Convolutional Neural Networks - Veronica Vilaplana - UPC Barcelona 2018Convolutional Neural Networks - Veronica Vilaplana - UPC Barcelona 2018
Convolutional Neural Networks - Veronica Vilaplana - UPC Barcelona 2018Universitat Politècnica de Catalunya
 
PR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox DetectorPR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox DetectorJinwon Lee
 
Hardware Acceleration for Machine Learning
Hardware Acceleration for Machine LearningHardware Acceleration for Machine Learning
Hardware Acceleration for Machine LearningCastLabKAIST
 
D1L5 Visualization (D1L2 Insight@DCU Machine Learning Workshop 2017)
D1L5 Visualization (D1L2 Insight@DCU Machine Learning Workshop 2017)D1L5 Visualization (D1L2 Insight@DCU Machine Learning Workshop 2017)
D1L5 Visualization (D1L2 Insight@DCU Machine Learning Workshop 2017)Universitat Politècnica de Catalunya
 
The world of loss function
The world of loss functionThe world of loss function
The world of loss function홍배 김
 
Pr045 deep lab_semantic_segmentation
Pr045 deep lab_semantic_segmentationPr045 deep lab_semantic_segmentation
Pr045 deep lab_semantic_segmentationTaeoh Kim
 
An Efficient Explorative Sampling Considering the Generative Boundaries of De...
An Efficient Explorative Sampling Considering the Generative Boundaries of De...An Efficient Explorative Sampling Considering the Generative Boundaries of De...
An Efficient Explorative Sampling Considering the Generative Boundaries of De...GiyoungJeon
 
ANU ASTR 4004 / 8004 Astronomical Computing : Lecture 6
ANU ASTR 4004 / 8004 Astronomical Computing : Lecture 6ANU ASTR 4004 / 8004 Astronomical Computing : Lecture 6
ANU ASTR 4004 / 8004 Astronomical Computing : Lecture 6tingyuansenastro
 
Introduction to Neural Networks and Deep Learning
Introduction to Neural Networks and Deep LearningIntroduction to Neural Networks and Deep Learning
Introduction to Neural Networks and Deep LearningVahid Mirjalili
 
Anomaly detection using deep one class classifier
Anomaly detection using deep one class classifierAnomaly detection using deep one class classifier
Anomaly detection using deep one class classifier홍배 김
 
A practical Introduction to Machine(s) Learning
A practical Introduction to Machine(s) LearningA practical Introduction to Machine(s) Learning
A practical Introduction to Machine(s) LearningBruno Gonçalves
 
Overview of Convolutional Neural Networks
Overview of Convolutional Neural NetworksOverview of Convolutional Neural Networks
Overview of Convolutional Neural Networksananth
 
20190927 generative models_aia
20190927 generative models_aia20190927 generative models_aia
20190927 generative models_aiaYi-Fan Liou
 
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...Universitat Politècnica de Catalunya
 
Image Segmentation with Deep Learning - Xavier Giro & Carles Ventura - ISSonD...
Image Segmentation with Deep Learning - Xavier Giro & Carles Ventura - ISSonD...Image Segmentation with Deep Learning - Xavier Giro & Carles Ventura - ISSonD...
Image Segmentation with Deep Learning - Xavier Giro & Carles Ventura - ISSonD...Universitat Politècnica de Catalunya
 

Similar to Neural Art Generation Using Convolutional Neural Networks (20)

Neural network basic and introduction of Deep learning
Neural network basic and introduction of Deep learningNeural network basic and introduction of Deep learning
Neural network basic and introduction of Deep learning
 
Deep learning study 2
Deep learning study 2Deep learning study 2
Deep learning study 2
 
Convolutional Neural Networks - Veronica Vilaplana - UPC Barcelona 2018
Convolutional Neural Networks - Veronica Vilaplana - UPC Barcelona 2018Convolutional Neural Networks - Veronica Vilaplana - UPC Barcelona 2018
Convolutional Neural Networks - Veronica Vilaplana - UPC Barcelona 2018
 
PR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox DetectorPR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox Detector
 
Neural Networks made easy
Neural Networks made easyNeural Networks made easy
Neural Networks made easy
 
Hardware Acceleration for Machine Learning
Hardware Acceleration for Machine LearningHardware Acceleration for Machine Learning
Hardware Acceleration for Machine Learning
 
Neural network
Neural networkNeural network
Neural network
 
D1L5 Visualization (D1L2 Insight@DCU Machine Learning Workshop 2017)
D1L5 Visualization (D1L2 Insight@DCU Machine Learning Workshop 2017)D1L5 Visualization (D1L2 Insight@DCU Machine Learning Workshop 2017)
D1L5 Visualization (D1L2 Insight@DCU Machine Learning Workshop 2017)
 
Deep Learning for Computer Vision: Deep Networks (UPC 2016)
Deep Learning for Computer Vision: Deep Networks (UPC 2016)Deep Learning for Computer Vision: Deep Networks (UPC 2016)
Deep Learning for Computer Vision: Deep Networks (UPC 2016)
 
The world of loss function
The world of loss functionThe world of loss function
The world of loss function
 
Pr045 deep lab_semantic_segmentation
Pr045 deep lab_semantic_segmentationPr045 deep lab_semantic_segmentation
Pr045 deep lab_semantic_segmentation
 
An Efficient Explorative Sampling Considering the Generative Boundaries of De...
An Efficient Explorative Sampling Considering the Generative Boundaries of De...An Efficient Explorative Sampling Considering the Generative Boundaries of De...
An Efficient Explorative Sampling Considering the Generative Boundaries of De...
 
ANU ASTR 4004 / 8004 Astronomical Computing : Lecture 6
ANU ASTR 4004 / 8004 Astronomical Computing : Lecture 6ANU ASTR 4004 / 8004 Astronomical Computing : Lecture 6
ANU ASTR 4004 / 8004 Astronomical Computing : Lecture 6
 
Introduction to Neural Networks and Deep Learning
Introduction to Neural Networks and Deep LearningIntroduction to Neural Networks and Deep Learning
Introduction to Neural Networks and Deep Learning
 
Anomaly detection using deep one class classifier
Anomaly detection using deep one class classifierAnomaly detection using deep one class classifier
Anomaly detection using deep one class classifier
 
A practical Introduction to Machine(s) Learning
A practical Introduction to Machine(s) LearningA practical Introduction to Machine(s) Learning
A practical Introduction to Machine(s) Learning
 
Overview of Convolutional Neural Networks
Overview of Convolutional Neural NetworksOverview of Convolutional Neural Networks
Overview of Convolutional Neural Networks
 
20190927 generative models_aia
20190927 generative models_aia20190927 generative models_aia
20190927 generative models_aia
 
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
 
Image Segmentation with Deep Learning - Xavier Giro & Carles Ventura - ISSonD...
Image Segmentation with Deep Learning - Xavier Giro & Carles Ventura - ISSonD...Image Segmentation with Deep Learning - Xavier Giro & Carles Ventura - ISSonD...
Image Segmentation with Deep Learning - Xavier Giro & Carles Ventura - ISSonD...
 

More from Mark Chang

Modeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential EquationModeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential EquationMark Chang
 
Modeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential EquationModeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential EquationMark Chang
 
Information in the Weights
Information in the WeightsInformation in the Weights
Information in the WeightsMark Chang
 
Information in the Weights
Information in the WeightsInformation in the Weights
Information in the WeightsMark Chang
 
PAC Bayesian for Deep Learning
PAC Bayesian for Deep LearningPAC Bayesian for Deep Learning
PAC Bayesian for Deep LearningMark Chang
 
PAC-Bayesian Bound for Deep Learning
PAC-Bayesian Bound for Deep LearningPAC-Bayesian Bound for Deep Learning
PAC-Bayesian Bound for Deep LearningMark Chang
 
Domain Adaptation
Domain AdaptationDomain Adaptation
Domain AdaptationMark Chang
 
Language Understanding for Text-based Games using Deep Reinforcement Learning
Language Understanding for Text-based Games using Deep Reinforcement LearningLanguage Understanding for Text-based Games using Deep Reinforcement Learning
Language Understanding for Text-based Games using Deep Reinforcement LearningMark Chang
 
Discourse Representation Theory
Discourse Representation TheoryDiscourse Representation Theory
Discourse Representation TheoryMark Chang
 

More from Mark Chang (9)

Modeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential EquationModeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential Equation
 
Modeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential EquationModeling the Dynamics of SGD by Stochastic Differential Equation
Modeling the Dynamics of SGD by Stochastic Differential Equation
 
Information in the Weights
Information in the WeightsInformation in the Weights
Information in the Weights
 
Information in the Weights
Information in the WeightsInformation in the Weights
Information in the Weights
 
PAC Bayesian for Deep Learning
PAC Bayesian for Deep LearningPAC Bayesian for Deep Learning
PAC Bayesian for Deep Learning
 
PAC-Bayesian Bound for Deep Learning
PAC-Bayesian Bound for Deep LearningPAC-Bayesian Bound for Deep Learning
PAC-Bayesian Bound for Deep Learning
 
Domain Adaptation
Domain AdaptationDomain Adaptation
Domain Adaptation
 
Language Understanding for Text-based Games using Deep Reinforcement Learning
Language Understanding for Text-based Games using Deep Reinforcement LearningLanguage Understanding for Text-based Games using Deep Reinforcement Learning
Language Understanding for Text-based Games using Deep Reinforcement Learning
 
Discourse Representation Theory
Discourse Representation TheoryDiscourse Representation Theory
Discourse Representation Theory
 

Recently uploaded

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Recently uploaded (20)

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

Neural Art Generation Using Convolutional Neural Networks

  • 1. Neural  Art    by  Mark  Chang  
  • 2. A  Neural  Algorithm  of  Ar6s6c  Style   •  Author:   – Leon  A.  Gatys.     – Alexander  S.  Ecker.     – Ma@hias  Bethge     •  Organiza6on:   – Werner  Reichardt  Centre  for  Integra6ve  Neuroscience   and  Ins6tute  of  Theore6cal  Physics,  University  of   Tubingen,  Germany.       – Bernstein  Center  for  Computa6onal  Neuroscience,   Tubingen,  Germany.  
  • 3. The  Mechanism  of  Pain6ng   Brain  Ar6st   Scene   Style   ArtWork   Computer   Neural  Networks  
  • 4. Overview   •  Visual  Percep6on   •  Computer  Vision   •  Neural  Art   •  Demo  
  • 5. Visual  Percep6on   •  Neuron   •  Visual  Pathway   •  Misconcep6on  
  • 6. Neuron   •  Neuron   •  Ac6on  Poten6al   Dendrite   Axon   Cell  Body   Time   Voltage   Threshold  
  • 7. Visual  Pathway   Re6na   Visual  Area  V1   Visual  Area  V4   Inferior   Temporal  Gyrus   (IT)  
  • 8. Visual  Pathway   Visual  Area  V1   Inferior   Temporal   Gyrus  (IT)   Recep6ve  Fields   Visual  Area  V4  
  • 10. Computer  Vision   •  Neural  Networks     •  Convolu6onal  Neural  Networks   •  VGG  19  
  • 11. Neural  Networks     n W1 W2 x1 x2 b Wb y nin = w1x1 + w2x2 + wb nout = 1 1 + e nin Sigmoid   Rec6fied  Linear   nout = ⇢ nin if nin > 0 0 otherwise
  • 12. Neural  Networks     x y n11 n12 n21 n22 b b z1 z2 Input     Layer Hidden   Layer Output   Layer W12,y W12,x W11,y W11,b W12,b W11,x W21,11 W22,12 W21,12 W22,11 W21,b W22,b
  • 13. Convolu6onal  Neural  Networks   •  Convolu6onal  Layer depth   width  width    depth   weights  weights   height   shared  weight  
  • 14. Convolu6onal  Neural  Networks   •  Stride •  Padding Stride  =  1   Stride  =  2   Padding  =  0   Padding  =  1  
  • 15. Convolu6onal  Neural  Networks   •  Pooling  Layer   1 3 2 4 5 7 6 8 0 0 4 4 6 6 0 0 4 5 3 2 no  overlap   no  padding   no  weights   depth  =  1   7 8 6 4 Maximum   Pooling   Average   Pooling  
  • 16. Convolu6onal  Neural  Networks   Convolu6onal   Layer   Convolu6onal   Layer     Pooling   Layer     Pooling   Layer     Recep6ve  Fields   Recep6ve  Fields   Input   Layer  
  • 17. Convolu6onal  Neural  Networks   Input  Layer   Convolu6onal   Layer  with   Recep6ve  Fields:   Max-­‐pooling   Layer  with   Width  =3,  Height  =  3   Filter  Responses   Filter  Responses   Input  Image  
  • 18. VGG  19   •  Karen  Simonyan  &  Andrew  Zisserman.  Very  Deep   Convolu6onal  Networks  for  Large-­‐scale  Image   Recogni6on.   •  ImageNet  Challenge  2014   •  19  (+5)  layers   – 16  Convolu6onal  layers  (width=3,  height=3)   – 5  Max-­‐pooling  layers  (width=2,  height=2)   – 3  Fully-­‐connected  layers  
  • 19. VGG  19   depth=64   conv1_1   conv1_2   maxpool depth=128   conv2_1   conv2_2 maxpool depth=256   conv3_1   conv3_2   conv3_3   conv3_4 depth=512   conv4_1   conv4_2   conv4_3   conv4_4 depth=512   conv5_1   conv5_2   conv5_3   conv5_4 maxpool maxpool maxpool size=4096   FC1   FC2   size=1000   sogmax
  • 20. Neural  Art   •  Content  Genera6on   •  Style  Genera6on   •  Artwork  Genera6on  
  • 21. Content  Genera6on   Brain  Ar6st  Content   Canvas   Minimize   the   difference   Neural   S6mula6on   Draw  
  • 22. Content  Genera6on   Filter     Responses  VGG19   Update  the   color  of     the  pixels   Content   Canvas   Result   Width*Height   Depth   Minimize   the   difference  
  • 23. Content  Genera6on   Layer  l’s  Filter  l   Responses:   ent(Pl , Cl ) = 1 2 X i,j (Cl i,j Pl i,j)2 Layer  l’s  Filter     Responses:  Lcontent(P l , Cl ) = 1 2 X i,j (Cl i,j P l i,j)2 Input   Photo:  Lcontent(p, c, l) = 1 2 X i,j (Cl i,j Pl i,j)2 Lcontent(p, x, l) = 1 2 X i,j (Xl i,j Pl i,j)2 @Lcontent(p, x, l) @Xl i,j = Xl i,j Pl i,j Xl Xl i,j Input   Canvas:  x Width*Height  (j)   Depth  (i)   Width*Height  (j)   Depth  (i)  
  • 24. Content  Genera6on   •  Backward  Propaga6on   Layer  l’s  Filter  l   Responses:  Xl Input   Canvas:   x VGG19   @Lcontent @x = @Lcontent @Xl @Xl x x x ⌘ @Lcontent @x Update   Canvas   Learning  Rate  
  • 26. Content  Genera6on   VGG19   conv1_2   conv2_2   conv3_4   conv4_4   conv5_2  conv5_1  
  • 27. Style  Genera6on   •  ”Style”  is  posi6on-­‐independent   style   extrac6on  
  • 28. Style  Genera6on   VGG19  Artwork   G   G   Filter  Responses   Gram  Matrix   Width*Height   Depth   Depth   Depth   Posi6on-­‐   dependent   Posi6on-­‐   independent  
  • 29. Style  Genera6on   1. .5 .5 .5 1. 1.   .5 .25 1. .5 .25 .5 .25 .25 1. .5 1. Width*Height   Depth   k1   k2   k1   k2   Depth   Depth   Layer  l’s  Filter  Responses   Gram  Matrix   Fl 1 Fl 2 Fl 3 Fl 4 Fl 1 Fl 2 Fl 3 Fl 4 G         Gl i,j = Fl i · Fl j Gl 4,1 = Fl 4 · Fl 1 = 1 ⇥ 1 + 0 ⇥ 0.5 + 0 ⇥ 0 + ... = 1
  • 30. Style  Genera6on   VGG19   Filter    Responses   Gram     Matrix   Minimize   the   difference   G   G   Style   Canvas   Update  the  color  of     the  pixels  Result  
  • 31. Style  Genera6on   Lstyle(a, x, l) = 1 2 X i,j (Xl i,j Al i,j)2 @Lstyle(a, x, l) @Fl i,j = ((Fl )T (Xl Al ))j,i Layer  l’s     Filter  Responses   Layer  l’s     Gram  Matrix   Layer  l’s     Gram  Matrix   Fl i,j Al i,j Xl i,j Input   Artwork:   Input   Canvas:  a x
  • 33. Style  Genera6on   VGG19   Conv1_1   Conv1_1   Conv2_1   Conv1_1   Conv2_1   Conv3_1     Conv1_1   Conv2_1   Conv3_1   Conv4_1   Conv1_1   Conv2_1   Conv3_1   Conv4_1   Conv5_1  
  • 34. Artwork  Genera6on   Ltotal = ↵Lcontent + Lstyle a ent(p, c, l) = 1 2 X i,j (Cl i,j Pl i,j)2 x x x ⌘ @Ltotal @x x Filter  Responses  VGG19   Lcontent(p, x) Lstyle(a, x) Gram  Matrix  
  • 35. Artwork  Genera6on   VGG19   VGG19   Lcontent(p, x) Lstyle(a, x) Conv1_1   Conv2_1   Conv3_1   Conv4_1   Conv5_1   Conv4_2   Ltotal = ↵Lcontent + Lstyle
  • 37. Demo   •  Content  v.s.  Style   •  Different  Ini6al  State   •  Different  VGG  Layers   •  Sketch  &  Watercolor   •  Pain6ng  &  Poem  
  • 38. Content  v.s.  Style   0.15   0.05   0.02   0.007   ↵
  • 39. Different  Ini6al  State   noise   0.9  *noise  +  0.1*photo   photo  
  • 40. Different  VGG  Layers   Conv1_1   Conv2_1   Conv1_1   Conv2_1   Conv3_1   Conv1_1   Conv2_1   Conv3_1   Conv4_1   Conv1_1   Conv2_1   Conv3_1   Conv4_1   Conv5_1   ↵ = 0.002
  • 43. Further  Reading   •  A  Neural  Algorithm  of  Ar6s6c  Style   –  h@p://arxiv.org/abs/1508.06576   •  Texture  Synthesis  Using  Convolu6onal  Neural  Networks   –  h@p://arxiv.org/abs/1505.07376   •  Convolu6onal  Neural  Network   –  h@p://cs231n.github.io/convolu6onal-­‐networks/   •  Neural  Network  Back  Propaga6on   –  h@p://cpmarkchang.logdown.com/posts/277349-­‐neural-­‐ network-­‐backward-­‐propaga6on   •  Computa6onal  Poetry:   –  h@p://www.slideshare.net/ckmarkohchang/computa6onal-­‐ poetry  
  • 44. Code •  Python  Tensorflow   – h@ps://github.com/ckmarkoh/neuralart_tensorflow   •  Python  Theano   – h@ps://github.com/woonketwong/ar6fy   •  Python  Theano  (ipython  notebook)   – h@ps://github.com/Lasagne/Recipes/blob/master/ examples/styletransfer/Art%20Style %20Transfer.ipynb   •  Python  deeppy   – h@ps://github.com/andersbll/neural_ar6s6c_style  
  • 45. Image  URL   •  h@p:// www.taipei-­‐101.com.tw/ upload/news/ 201502/2015021711505431 705145.JPG       •  h@ps://github.com/ andersbll/ neural_ar6s6c_style/blob/ master/images/ starry_night.jpg?raw=true  
  • 47. About  the  Speaker   •  Email:  ckmarkoh  at  gmail  dot  com   •  Blog:  h@p://cpmarkchang.logdown.com   •  Github:  h@ps://github.com/ckmarkoh   Mark  Chang   •  Facebook:  h@ps://www.facebook.com/ckmarkoh.chang   •  Slideshare:  h@p://www.slideshare.net/ckmarkohchang   •  Linkedin:  h@ps://www.linkedin.com/pub/mark-­‐chang/85/25b/847