Skip to content

Generative Image Inpainting with Contextual Attention

DingfengShi edited this page May 24, 2018 · 1 revision

Generative Image Inpainting with Contextual Attention

大大减少了训练时间

1. 先生成模糊图像-->再修正成高清图
2. 对总体+洞应用WGAN得到两个对抗loss + L1 pixel loss
3.*考虑洞最外面四周基本上不确定性不高,于是对mask矩阵赋予权值,使越靠里的像素训练速度越快
4. 同样对图像分成patch,比较洞里patch和周围patch的内积,然后softmax得到一个权值。
	再分别用[1,k],[k,1]大小的Fliter对权值求和,得到了一个局部敏感的权值
Clone this wiki locally