
pix2pix_patchgan_discriminator
Diffusion and generative16 ops2.8M params
MONAI's PatchGAN discriminator block, a strided conv stack from the pix2pixHD design.
Diffusion and generative · 16 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
monai.networks.nets.PatchDiscriminator(spatial_dims=2, channels=8, in_channels=1, out_channels=1, num_layers_d=3)
About this model's family
This is MONAI's Patch-GAN discriminator, based on pix2pixHD, the paper High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs. That paper is about synthesizing high-resolution photo-realistic images from semantic label maps using conditional GANs. Its 2048x1024 results rest on a novel adversarial loss plus new multi-scale generator and discriminator architectures.
The MONAI block stacks num_layers_d convolution layers, each Conv plus activation plus normalisation with optional dropout. Filters start at the channels argument and double for each subsequent layer. Defaults are LeakyReLU activation, batch norm, and no bias in the convolution blocks. Two configurations are traced: a pix2pix-style one with 64 starting filters on a 6-channel 256 × 256 input standing in for a concatenated label and image pair, and a small one with 8 filters on a single-channel 64 × 64 input.
Key idea. A patch-based convolutional discriminator block, parameterised by depth and starting filter count, taken from the pix2pixHD discriminator design.
AI-written summary, based on the paper's abstract and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{wang2018highresolutionimagesynthesissemantic,
title={High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs},
author={Ting-Chun Wang and Ming-Yu Liu and Jun-Yan Zhu and Andrew Tao and Jan Kautz and Bryan Catanzaro},
year={2018},
eprint={1711.11585},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1711.11585},
}