projectvastra

A PyTorch-based virtual try-on system using OpenPose keypoints and pre-trained models for realistic outfit simulation.

https://github.com/navneet-cerecode/projectvastra

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

A PyTorch-based virtual try-on system using OpenPose keypoints and pre-trained models for realistic outfit simulation.

Basic Info
  • Host: GitHub
  • Owner: navneet-cerecode
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 226 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
License Citation

https://github.com/navneet-cerecode/ProjectVASTRA/blob/main/

# VASTRA: Virtual Apparel Simulation for Try-on and Realistic Augmentation

**VASTRA** is a virtual try-on pipeline inspired by [HR-VITON](https://github.com/sangyun884/HR-VITON), allowing users to simulate clothes on human models using deep learning. This project leverages pre-trained HR-VITON models to generate realistic outputs from a person's image and a target clothing image.

>  This project uses pre-trained models from the HR-VITON repository, which is licensed under CC BY-NC 4.0. Hence, this project is strictly **non-commercial**.

---

## Repository Structure

### 1. `Preprocessing/`
Contains all the preprocessing scripts required to generate the necessary inputs (segmentation, pose, cloth-mask, warped cloth, etc.) for inference.

-  **Note:** OpenPose is required but **not included** in this repo. You must install OpenPose separately in your system.
- All other preprocessing scripts (including agnostic parsing and cloth mask generation) are self-contained and can be run directly.

### 2. `Inference/`
This is the main folder where the try-on inference happens. It utilizes the pre-trained HR-VITON models to produce the final outputs using the preprocessed inputs.

### 3. `Sample Datasets/`
To help users test the pipeline without going through preprocessing steps, this folder includes a few samples from the **official HR-VITON dataset**. The visualized parsing images are provided for reference, but users must use **grayscale parsing masks** for actual inference.

---

## Quick Start (for Sample Testing)
If youre facing difficulty generating preprocessed data, you can directly use the files in the `Sample Datasets` folder to run inference and observe the results.

---

## License and Use

This project is strictly for **academic or research purposes only**. Since it builds upon HR-VITON, which is under the [Creative Commons Attribution-NonCommercial 4.0 License](https://creativecommons.org/licenses/by-nc/4.0/), **commercial use is not permitted**.

---

## Acknowledgements

- [HR-VITON](https://github.com/sangyun884/HR-VITON): The base implementation used for inference and pretrained models.

---

## Project Facts

- The original HR-VITON models used in this project were trained on the **VITON-HD** dataset, which includes high-resolution image pairs of people and clothes.
- The training process was computationally intensive and required powerful hardware:
  - **GPU Used**: NVIDIA Tesla V100 / A100 (as per official paper indications).
  - **Training Duration**: Approximately **46 days** on a single high-end GPU setup.
- All inference in this project is done using **pre-trained models**  no additional training is required.
- The project supports **modular preprocessing and inference**, making it suitable for both research experiments and hackathon demos.

---

![Sample](figure/sample.jpg)

Feel free to raise issues or pull requests if you'd like to improve or contribute!

Owner

  • Login: navneet-cerecode
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use HR-VITON in your research, please cite the following paper."
title: "High-Resolution Virtual Try-On with Misalignment and Occlusion-Handled Conditions"
authors:
  - family-names: Lee
    given-names: Sangyun
  - family-names: Gu
    given-names: Gyojung
  - family-names: Park
    given-names: Sunghyun
  - family-names: Choi
    given-names: Seunghwan
  - family-names: Choo
    given-names: Jaegul
date-released: 2022-06-28
doi: 10.48550/arXiv.2206.14180
url: https://github.com/sangyun884/HR-VITON
repository-code: https://github.com/sangyun884/HR-VITON
license: "All rights reserved"

GitHub Events

Total
  • Member event: 2
  • Push event: 13
  • Pull request event: 6
  • Fork event: 2
  • Create event: 2
Last Year
  • Member event: 2
  • Push event: 13
  • Pull request event: 6
  • Fork event: 2
  • Create event: 2

Dependencies

Preprocessing/Densepose/requirements.txt pypi
  • numpy *
  • opencv-python *
  • torch *