Skip to content

ARajgor/vtryon-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cp-VTryon-plus-Flask-App

Flask App version of https://github.com/minar09/cp-vton-plus

This is CPU based version.

if you find any problem feel free to raise issue.

what's new [Oct 2023]

  • Python 3.11 support
  • Supporting new version of torch and torchvision.
    • torch = 2.0.1
    • torchvision = 0.15
    • opencv = 4.8.1.78
  • fix all the deprecated warning of torch and resolve all isuses regarding dependency.
  • now you can upload .JPG, .png/.PNG and .jpeg/.JPEG files. (resolve the .jpg dependency).
  • showing both images on result page. original and result.

Installation

pip install -r requirements.txt

python application.py

Input and result image folder structure

├── static
│   ├── data
│   │   ├── input
│   │   │   ├── cloth
│   │   │   ├── cloth-mask
│   │   │   ├── image
│   │   │   ├── image-mask
│   │   │   ├── image-parse
│   │   │   ├── image-parse-new
│   │   │   ├── pose
│   │   │   ├── warp-cloth
│   │   │   ├── warp-mask
│   │   ├── grid.png
│   │   ├── test_sample_pair.txt
│   └── result (Auto generated)
│       ├── TOM 
│       ├── GMM

Pretrained Models

Download the these models and paste in folder "tryon_utils/checkpoints/"

  • Tryon Models
    • paste in checkpoints/GMM and checkpoints/TOM
  • Graphonomy inference.pth
    • paste in checkpoints/
  • OpenPose model
    • paste in checkpoints/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published