Research Article
A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints
Table 2
Network parameters of the edge discriminator.
| Layer | Inputs (H × W × C) | Kernel size | Stride | Padding | Dilation | Activation function | Outputs (H × W × C) |
| Conv | 256 × 256 × 2 | 4 × 4 | 2 | 1 | 1 | Leaky ReLU | 128 × 128 × 64 | Conv | 128 × 128 × 64 | 4 × 4 | 2 | 1 | 1 | Leaky ReLU | 64 × 64 × 128 | Conv | 64 × 64 × 128 | 4 × 4 | 2 | 1 | 1 | Leaky ReLU | 32 × 32 × 256 | Conv | 32 × 32 × 256 | 4 × 4 | 1 | 1 | 1 | Leaky ReLU | 31 × 31 × 512 | Conv | 31 × 31 × 512 | 4 × 4 | 1 | 1 | 1 | — | 30 × 30 × 1 |
|
|