Other

项目介绍

shadow2496/VITON-HD 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Other 许可证,目前获得 1.2k 个 Star、252 次 Fork。

仓库全名
shadow2496/VITON-HD
开源许可证
Other
Star 数
1.2k
Fork 数
252

README 摘要

Our Team's Follow-up Research 1. [NEW!] PromptDresser (https://github.com/rlawjdghek/PromptDresser) - Arxiv 24.12 2. StableVITON (https://github.com/rlawjdghek/StableVITON) - CVPR 2024 3. HR-VITON (https://github.com/sangyun884/HR-VITON) - ECCV 2022 VITON-HD — Official PyTorch Implementation \\\\\ 2025-04-27: The link to the dataset has been updated. We apologize for the inconvenience. \\\\\ VITON-HD…

完整内容见 GitHub 原始 README 或本页 。

常见问题

VITON-HD 用什么语言开发?

主要使用 Python 编写,采用 Other 许可证,目前有 1.2k 个 Star。

VITON-HD 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 VITON-HD 的源码?

可以直接克隆仓库:git clone https://github.com/shadow2496/VITON-HD.git,默认分支为 main;安装与运行步骤见仓库 README。

VITON-HD 最近还在维护吗?

仓库最近一次更新为 2025年4月27日,当前没有未关闭的 Issue;Star 数为 1.2k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Official PyTorch implementation of "VITON-HD: High-Resolution Virtual Try-On via Misalignment-Aware Normalization" (CVPR 2021)

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1712
价值分
783
活跃状态
活跃

语言占比

Python

README

Our Team’s Follow-up Research

1. [NEW!] PromptDresser (https://github.com/rlawjdghek/PromptDresser) - Arxiv 24.12
2. StableVITON (https://github.com/rlawjdghek/StableVITON) - CVPR 2024
3. HR-VITON (https://github.com/sangyun884/HR-VITON) - ECCV 2022

VITON-HD — Official PyTorch Implementation

***** 2025-04-27: The link to the dataset has been updated. We apologize for the inconvenience. *****

Teaser image

VITON-HD: High-Resolution Virtual Try-On via Misalignment-Aware Normalization
Seunghwan Choi*1, Sunghyun Park*1, Minsoo Lee*1, Jaegul Choo1
1KAIST
In CVPR 2021. (* indicates equal contribution)

Paper: https://arxiv.org/abs/2103.16874
Project page: https://psh01087.github.io/VITON-HD

Abstract: The task of image-based virtual try-on aims to transfer a target clothing item onto the corresponding region of a person, which is commonly tackled by fitting the item to the desired body part and fusing the warped item with the person. While an increasing number of studies have been conducted, the resolution of synthesized images is still limited to low (e.g., 256x192), which acts as the critical limitation against satisfying online consumers. We argue that the limitation stems from several challenges: as the resolution increases, the artifacts in the misaligned areas between the warped clothes and the desired clothing regions become noticeable in the final results; the architectures used in existing methods have low performance in generating high-quality body parts and maintaining the texture sharpness of the clothes. To address the challenges, we propose a novel virtual try-on method called VITON-HD that successfully synthesizes 1024x768 virtual try-on images. Specifically, we first prepare the segmentation map to guide our virtual try-on synthesis, and then roughly fit the target clothing item to a given person’s body. Next, we propose ALIgnment-Aware Segment (ALIAS) normalization and ALIAS generator to handle the misaligned areas and preserve the details of 1024x768 inputs. Through rigorous comparison with existing methods, we demonstrate that VITON-HD highly surpasses the baselines in terms of synthesized image quality both qualitatively and quantitatively.

Dataset

We collected a 1024×768 virtual try-on dataset for research purposes only. You can download the preprocessed dataset from here. The frontal-view woman and top-clothing image pairs are split into training and test sets with 11,647 and 2,032 pairs, respectively.

Installation

Clone this repository:

git clone https://github.com/shadow2496/VITON-HD.git
cd ./VITON-HD/

Install PyTorch and other dependencies:

conda create -y -n [ENV] python=3.8
conda activate [ENV]
conda install -y pytorch=[>=1.6.0] torchvision cudatoolkit=[>=9.2] -c pytorch
pip install opencv-python torchgeometry

Pre-trained networks

We provide pre-trained networks and sample images from the test dataset. Please download *.pkl and test images from the VITON-HD Google Drive folder and unzip *.zip files. test.py assumes that the downloaded files are placed in ./checkpoints/ and ./datasets/ directories.

Testing

To generate virtual try-on images, run:

CUDA_VISIBLE_DEVICES=[GPU_ID] python test.py --name [NAME]

The results are saved in the ./results/ directory. You can change the location by specifying the --save_dir argument. To synthesize virtual try-on images with different pairs of a person and a clothing item, edit ./datasets/test_pairs.txt and run the same command.

Note 注意

The preprocessing code for clothing-agnostic person representation differs slightly in HR-VITON.

License

All material is made available under Creative Commons BY-NC 4.0. You can use, redistribute, and adapt the material for non-commercial purposes, as long as you give appropriate credit by citing our paper and indicate any changes that you’ve made.

Citation

If you find this work useful for your research, please cite our paper:

@inproceedings{choi2021viton,
  title={VITON-HD: High-Resolution Virtual Try-On via Misalignment-Aware Normalization},
  author={Choi, Seunghwan and Park, Sunghyun and Lee, Minsoo and Choo, Jaegul},
  booktitle={Proc. of the IEEE conference on computer vision and pattern recognition (CVPR)},
  year={2021}
}

评论

暂无评论