PF-AFN
A virtual try-on network that fits a garment onto a person image without human parsing at test time.
Diffusion and generative · 1,414 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.
At a glance
- Parameters
- 73.2M
- Operations
- 1,414
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2021
- Cited by
- 225 (as of 28 October 2026)
- Authors
- Yuying Ge, Yibing Song, Ruimao Zhang and others
- Source
- GitHub: geyuying/PF-AFN
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m19093
- Graph hash
- 7889f481754c0873fa7ffe943497c7488e2800e5bdc007470d43833b5c4a7ca8
- Skeleton hash
- b791c542863955fae5e9d892be7b1653e5c3d39564fd015084c7913aecf690d5
- Architecture hash
- fb6c5522d2f2696753ce29c7b59c403b2c0d71696a73555408897866c6056ac1
- Diagram SHA-256
- 21b9b228ffcce6721e7f1cc394a2a3996f852e57de5f60d712b49eb00c31bc8f
- 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
PF-AFN, the Parser Free Appearance Flow Network, is a virtual try-on model: it fits a garment image onto a person image and produces the try-on picture. Earlier methods relied heavily on human parsing, and slightly wrong segmentation results would lead to unrealistic try-on images with large artifacts. At test time this model is fed only a person image, a clothes image and the edge extracted from the clothes image.
The network has two parts: an appearance flow warping module (AFWM) that establishes dense correspondences between the person image and the clothes image, and a generative module (GM) that synthesizes the result. The appearance flows are a set of 2D coordinate vectors, each indicating which pixels in the clothes image should fill a given pixel in the person image. The generative module adopts a Res-UNet, a UNet architecture combined with residual connections.
Training follows what the paper calls teacher-tutor-student knowledge distillation: fake images from a parser-based method serve as tutor knowledge, whose artifacts can be corrected by teacher knowledge extracted from real person images in a self-supervised way. The distillation is also formulated over the appearance flows between the person image and the garment image. The README reports that a PF-AFN trained with the released code achieves FID 9.92 on the VITON test set. The code is based on an implementation of ClothFlow, including its feature pyramid networks and ResUnetGenerator.
Key idea. PF-AFN trains a parser-free try-on network with teacher-tutor-student knowledge distillation, distilling appearance flows between the person image and the garment image.
- pf-afn
- pfafn
- parser free appearance flow network
- virtual try-on
- parser-free virtual try-on
- appearance flow
- viton
- clothes warping
- try-on image synthesis
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{ge2021parserfreevirtualtryondistilling,
title={Parser-Free Virtual Try-on via Distilling Appearance Flows},
author={Yuying Ge and Yibing Song and Ruimao Zhang and Chongjian Ge and Wei Liu and Ping Luo},
year={2021},
eprint={2103.04559},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2103.04559},
}