標籤:set 集合 網路 tin lin from 網路模型 one 技術
用深度學習做人臉合成,website:https://zo7.github.io/blog/2016/09/25/generating-faces.html
受啟發於 Learning to Generate Chairs, Tables, and Cars with Convolutional Networks
模型描述
給定一個資料集
包含:c – the one-hot encoding of the model identity
v – azimuth and elevation of the camera position
Θ – the parameters of additional artificial transformations (增加訓練集的數量,減少過擬合)
目標(the RGB output image x, the segmentation mask s)
網路結構
“1s-S-deep” model
產生網路模型由兩階段構成:
1. FC-1 to FC-4 建立一個分享的、高維的隱表達 h(c,v,Θ)
2. FC-5 and uconv-1 to uconv-4 (這部分定義為u)產生outputimage和segmentation mask
這個 deconvolution network類似於 here, here, or here,首先upsample輸入,然後convolution。
該模型建立在Keras上。
網路訓練
網路參數W
LRGB(squared Euclidean)和Lsegm(squared Euclidean/negative log-likelihood)是損失函數
用更理論的方法產生新模型,訓練一個機率產生模型(FC-2)隱狀態z:潛在的椅子映像集合
定義 a segmentation mask si under transformation TΘi
定義the pixels in an image xi
log likelihood of an image and its segmentation mask
網路分析
activating neurons of FC-1 and FC-2 feature maps 見(最左邊是 setting all neurons of the layer
to zero,其餘映像是activating one randomly selected neuron) 並沒有太大變化
activating neurons of FC-3 and FC-4 feature maps ,出現視角和類的變化
Images generated from single neurons of the convolutional layers (From top to bottom: uconv-2,
uconv-1, FC-5 of the RGB stream)
接下來,將通過程式進一步理解該模型。
Generating Faces with Deconvolution Networks