1. 程式人生 > >深度學習 ——style reconstruction

深度學習 ——style reconstruction

ati 卷積 ima 多層 error rep esc eight ssi

多層神經網絡的實質就是為了找出更復雜,更內在的features...圖像的style, how to describe, impossible! 但是人眼卻可以分辨。

A Neural algorithm of artistic style

使用卷積神經網絡來做 content, style reconstruction.

loss= content loss+ style loss

content reconstruction: 經過pre-trained 的vgg16 的卷積網絡來做content 的重構

style reconstruction:

content loss : 均方誤差:技術分享

其中F^l是產生的Content Representation在第l層的數據表示,P^l是原始圖片在第l層的數據表示,定義squared-error loss為兩種特征表示的error

style loss:


技術分享

其中A^l 是原始style圖片在第l的數據表示,而G^l是產生的Style Representation在第l層的表示

深度學習 ——style reconstruction