All models

PICNet

An image completion network that generates multiple, diverse fillings for one masked image.

Diffusion and generative · 504 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (13 KB)

Open in a new tab

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.

At a glance

Parameters
6M
Operations
504
Framework
PyTorch
Recurrent
No
Published
CVPR 2019
Cited by
545 (as of 27 October 2026)
Authors
Chuanxia Zheng, Tat-Jen Cham, Jianfei Cai
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19121
Graph hash
71dd419cc0710f168840728f68b52ac8faec9bf988d16aa4d020854b7006d5e8
Skeleton hash
a214805b177fdbb83be0fe8de88080a1e91fe43745721fba8cdb42b1ec9749bf
Architecture hash
122b0e10faa96f8c673b97d17a1a836b2284ae8999757661087277d7bc0b7c66
Diagram SHA-256
b176095de6e9622335c71c68303c32ae9b51df9f0fef3149ddf4110db29cefc5
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

PICNet is the model from the paper "Pluralistic Image Completion". Most image completion methods produce only one result for each masked input, and this one is built for the task of generating multiple and diverse plausible solutions.

The paper locates the difficulty in the training data: there is usually only one ground truth instance per label, so sampling from conditional VAEs still leads to minimal diversity. Its answer is a framework with two parallel paths. A reconstructive path uses the one given ground truth to get a prior distribution of the missing parts and rebuilds the original image from it, and a generative path has its conditional prior coupled to the distribution obtained in the reconstructive path. Both paths are supported by GANs, and a short+long term attention layer exploits distant relations among decoder and encoder features to improve appearance consistency.

The authors tested on buildings (Paris), faces (CelebA-HQ) and natural images (ImageNet). The released center-mask models were trained on 256*256 images with 128x128 center holes. The repository notes that masking half of a face gives small diversity, because the short+long term attention layer copies information from the other side.

Key idea. The paper trains image completion with two parallel paths, a reconstructive one and a generative one, so that one masked image yields multiple and diverse plausible results.

  • PICNet
  • Pluralistic Image Completion
  • pluralistic inpainting
  • image completion
  • image inpainting
  • diverse image completion
  • short+long term attention

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zheng2019pluralisticimagecompletion,
      title={Pluralistic Image Completion}, 
      author={Chuanxia Zheng and Tat-Jen Cham and Jianfei Cai},
      year={2019},
      eprint={1903.04227},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1903.04227}, 
}