{"id":21990715,"url":"https://rizavelioglu.github.io/tryoffdiff/","last_synced_at":"2025-07-23T00:31:39.392Z","repository":{"id":266314515,"uuid":"834175585","full_name":"rizavelioglu/tryoffdiff","owner":"rizavelioglu","description":"[CVPR'25-Demo] Official repository of \"TryOffDiff: Virtual-Try-Off via High-Fidelity Garment Reconstruction using Diffusion Models\".","archived":false,"fork":false,"pushed_at":"2025-07-21T09:24:14.000Z","size":10885,"stargazers_count":117,"open_issues_count":3,"forks_count":21,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-21T11:26:46.983Z","etag":null,"topics":["demo-app","diffusion","e-commerce","fashion","huggingface-diffusers","image-to-image","pytorch","siglip","stable-diffusion","virtual-try-off","virtual-try-on"],"latest_commit_sha":null,"homepage":"https://rizavelioglu.github.io/tryoffdiff/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rizavelioglu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-26T15:26:03.000Z","updated_at":"2025-07-21T09:24:17.000Z","dependencies_parsed_at":"2024-12-03T17:25:00.017Z","dependency_job_id":"8d2b5815-3b84-48fe-960e-227ed429dc9a","html_url":"https://github.com/rizavelioglu/tryoffdiff","commit_stats":null,"previous_names":["rizavelioglu/tryoffdiff"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rizavelioglu/tryoffdiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizavelioglu%2Ftryoffdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizavelioglu%2Ftryoffdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizavelioglu%2Ftryoffdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizavelioglu%2Ftryoffdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rizavelioglu","download_url":"https://codeload.github.com/rizavelioglu/tryoffdiff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizavelioglu%2Ftryoffdiff/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266596689,"owners_count":23953891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo-app","diffusion","e-commerce","fashion","huggingface-diffusers","image-to-image","pytorch","siglip","stable-diffusion","virtual-try-off","virtual-try-on"],"created_at":"2024-11-29T20:01:20.489Z","updated_at":"2025-07-23T00:31:39.364Z","avatar_url":"https://github.com/rizavelioglu.png","language":"Python","funding_links":[],"categories":["Personalized Restoration"],"sub_categories":[],"readme":"# TryOffDiff\n\n![teaser.gif](references/teaser.gif)\n\nThe official repository of the papers:\n1. _\"TryOffDiff: Virtual-Try-Off via High-Fidelity Garment Reconstruction using Diffusion Models\"_,\n2. _\"MGT: Extending Virtual Try-Off to Multi-Garment Scenarios\"_\n\n**TL;DR**:\n[![arXiv][logo-paper]][paper-arxiv]\n[![arXiv][logo-paper2]][paper2-arxiv]\n[![Generic badge][logo-hf_spaces]][hf_spaces]\n[![Generic badge][logo-hf_models]][hf_models]\n[![Generic badge][logo-project_page]][project_page]\n\n---\n\n### 🎉 News\n- [2025-07-11]: Paper2 accepted at [ICCV'25 Workshop](https://cvam-workshop.github.io/), will be presented on Oct 20th, 2025.\n- [2025-07-10]: Code for new features made available.\n- [2025-04-17]: Paper2 (follow-up work) appeared on arXiv with improvements, _e.g._ multi-garment try-off.\n- [2025-03-26]: Demo is accepted at [CVPR'25 Demo Track](https://media.eventhosts.cc/Conferences/CVPR2025/CVPR_main_conf_2025.pdf#page=20\u0026zoom=180), presented on June 13, 2025.\n- [2024-12-03]: Training, Inference, and Evaluation scripts made available.\n- [2024-11-27]: Paper1 appeared on arXiv.\n\n---\n\n### Usage\nPlease refer to the [instructions](references/README.md).\n\n---\n\n### Project Organization\nThe following project/directory structure is adopted: [Cookiecutter Data Science-v2 by DrivenData][cookiecutter]\n![cookiecutter-symbol][cookiecutter_link]\n\n```\n├── notebooks/           \u003c- Jupyter notebooks\n├── references/          \u003c- Manuals and all other explanatory materials.\n├── LICENSE\n├── README.md\n├── pyproject.toml       \u003c- Project configuration file with package metadata\n|\n└── tryoffdiff/          \u003c- Source code for use in this project.\n    ├── modeling/\n    │   ├── __init__.py\n    │   ├── eval.py      \u003c- Code to evaluate models\n    │   ├── model.py     \u003c- Model implementations\n    │   ├── predict.py   \u003c- Code to run model inference with trained models\n    │   └── train.py     \u003c- Code to train models\n    |\n    ├── __init__.py      \u003c- Makes `tryoffdiff` a Python module\n    ├── config.py        \u003c- Store configuration variables for training and inference\n    ├── dataset.py       \u003c- Download and clean datasets VITON-HD \u0026 Dress Code\n    ├── features.py      \u003c- Code to create features for modeling\n    └── plots.py         \u003c- Code to create visualizations\n```\n\n### Acknowledgements\nOur code relies on PyTorch, with [🤗 Diffusers](https://github.com/huggingface/diffusers) for diffusion model components\nand [🤗 Accelerate](https://github.com/huggingface/accelerate) for multi-GPU training.\\\nWe adopt [Stable Diffusion-v1.4](https://huggingface.co/CompVis/stable-diffusion-v1-4) as the base model and use\n[SigLIP](https://huggingface.co/google/siglip-base-patch16-512) as the image encoder.\\\nFor evaluation, we use [IQA_PyTorch](https://github.com/chaofengc/IQA-PyTorch),\n[clean-fid](https://github.com/GaParmar/clean-fid),\nand [DISTS-pytorch](https://github.com/dingkeyan93/DISTS).\n\n\n### License\n**_TL;DR_**: Not available for commercial use, unless the FULL source code is open-sourced!\\\nThis project is intended solely for academic research. No commercial benefits are derived from it.\\\nThe code, datasets, and models are published under the [Server Side Public License (SSPL)](LICENSE).\n\n\n### Citation\nIf you find this repository useful in your research, please consider giving a star ⭐ and a citation:\n```\n@article{velioglu2024tryoffdiff,\n  title     = {TryOffDiff: Virtual-Try-Off via High-Fidelity Garment Reconstruction using Diffusion Models},\n  author    = {Velioglu, Riza and Bevandic, Petra and Chan, Robin and Hammer, Barbara},\n  journal   = {arXiv preprint arXiv:2411.18350},\n  year      = {2024},\n  note      = {\\url{https://doi.org/nt3n}}\n}\n@inproceedings{velioglu2025mgt,\n  title     = {MGT: Extending Virtual Try-Off to Multi-Garment Scenarios},\n  author    = {Velioglu, Riza and Bevandic, Petra and Chan, Robin and Hammer, Barbara},\n  booktitle = {ICCVW},\n  year      = {2025},\n  note      = {\\url{https://doi.org/pn67}}\n}\n```\n\n[project_page]: https://rizavelioglu.github.io/tryoffdiff\n[logo-project_page]: https://img.shields.io/badge/Project-Page-purple\n[logo-hf_models]: https://img.shields.io/badge/🤗-Models-blue.svg?style=plastic\n[logo-hf_spaces]: https://img.shields.io/badge/🤗-Demo-blue.svg?style=plastic\n[logo-paper]: https://img.shields.io/badge/arXiv-Paper1-b31b1b.svg?style=plastic\n[logo-paper2]: https://img.shields.io/badge/arXiv-Paper2-b31b1b.svg?style=plastic\n[hf_datasets]: https://huggingface.co/datasets/rizavelioglu/...\n[hf_models]: https://huggingface.co/rizavelioglu/tryoffdiff\n[hf_spaces]: https://huggingface.co/spaces/rizavelioglu/tryoffdiff\n[paper-arxiv]: https://arxiv.org/abs/2411.18350\n[paper2-arxiv]: https://arxiv.org/abs/2504.13078\n[cookiecutter_link]: https://img.shields.io/badge/CCDS-Project%20template-328F97?logo=cookiecutter\n[cookiecutter]: https://cookiecutter-data-science.drivendata.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/rizavelioglu.github.io%2Ftryoffdiff%2F","html_url":"https://awesome.ecosyste.ms/projects/rizavelioglu.github.io%2Ftryoffdiff%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/rizavelioglu.github.io%2Ftryoffdiff%2F/lists"}