Research Article

A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints

Table 3

Network parameters of the image generator.

LayerInputs (H × W × C)Kernel sizeStridePaddingDilationActivation functionOutputs (H × W × C)

Conv256 × 256 × 44 × 4211128 × 128 × 64
Conv128 × 128 × 644 × 4211Leaky ReLU64 × 64 × 128
Conv64 × 64 × 1284 × 4211Leaky ReLU32 × 32 × 256
Conv32 × 32 × 2564 × 4211Leaky ReLU16 × 16 × 512
Conv16 × 16 × 5124 × 4211Leaky ReLU8 × 8 × 512
Conv8 × 8 × 5124 × 4211Leaky ReLU4 × 4 × 512
Conv4 × 4 × 5124 × 4211Leaky ReLU2 × 2 × 512
Conv2 × 2 × 5124 × 4211Leaky ReLU1 × 1 × 512
DeConv1 × 1 × 5124 × 4211ReLU2 × 2 × 512
DeConv2 × 2 × 10244 × 4211ReLU4 × 4 × 512
DeConv4 × 4 × 10244 × 4211ReLU8 × 8 × 512
DeConv8 × 8 × 10244 × 4211ReLU16 × 16 × 512
DeConv16 × 16 × 10244 × 4211ReLU32 × 32 × 256
DeConv32 × 32 × 7684 × 4211ReLU64 × 64 × 128
DeConv64 × 64 × 2564 × 4211ReLU128 × 128 × 64
DeConv128 × 128 × 1284 × 4211Tanh256 × 256 × 3