How jychen9811/doc-vton works
DOC-VTON is a research virtual try-on system for generating a person image wearing a target garment, with OccluMix’s de-occlusion capability highlighted in the README. Its documented test workflow starts with test_w_enhance.py; the repository also contains aligned-data preparation, garment-warping and image-network components, plus image and mask utilities. Several runtime connections are not shown in the excerpts, so those links are left out or marked unverified rather than inferred from module names.
Main entry points: test_w_enhance.py Try-on test · afwm.py Garment warping · unet2.py U-Net models · aligned_dataset_train.py Aligned samples
Components 16
Try-on workflow
- Try-on test
test_w_enhance.py - Runtime options
options/base_options.py - Try-on image
Input data
- Aligned samples
data/aligned_dataset_train.py - Test samples
data/aligned_dataset_test.py - Image transforms
data/base_dataset.py - Image collection
data/image_folder.py
Vision models
- Garment warping
models/afwm.py - Feature correlation
models/correlation/correlation.py - U-Net models
models/unet2.py - U-Net blocks
models/unet_parts.py - Image networks
models/networks.py
Image support
- Occlusion masks
util/util.py - Image conversion
util/util.py - Image history pool
util/image_pool.py
Other components
- Research user
Connections 12
- Research user → Try-on test: runs test
README.md - Aligned samples → Image transforms: uses transforms
data/aligned_dataset_train.py - U-Net models → U-Net blocks: uses blocks
models/unet2.py - Garment warping → Feature correlation: uses correlation
models/afwm.py - Try-on test → Runtime options: reads options
- Try-on test → Test samples: loads samples
- Try-on test → Garment warping: warps garment
- Try-on test → U-Net models: runs segmentation
- Try-on test → Image networks: runs networks
- Try-on test → Occlusion masks: uses occlusion masks
- Try-on test → Image conversion: converts output
- Try-on test → Try-on image: produces image