Instructions to use sheldon-97/Dual-VTOFF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sheldon-97/Dual-VTOFF with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("sheldon-97/Dual-VTOFF", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
library_name: diffusers
|
| 4 |
pipeline_tag: image-to-image
|
| 5 |
tags:
|
|
@@ -8,33 +8,29 @@ tags:
|
|
| 8 |
- viton-hd
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# DualVTOFF
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
validate outputs for their application and should not use them as evidence of
|
| 22 |
-
real products or people.
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
## Inference code:
|
| 29 |
-
|
| 30 |
-
Refer to : [https://github.com/locphattruong/dual-vtoff](https://github.com/locphattruong/dual-vtoff)
|
| 31 |
|
| 32 |
## Licenses
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
the publisher must attach the final applicable weight license before upload.
|
| 39 |
-
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: openrail++
|
| 3 |
library_name: diffusers
|
| 4 |
pipeline_tag: image-to-image
|
| 5 |
tags:
|
|
|
|
| 8 |
- viton-hd
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# DualVTOFF checkpoints
|
| 12 |
|
| 13 |
+
Official checkpoints for *What Matters in Virtual Try-Off? Dual-UNet Diffusion
|
| 14 |
+
Models for Garment Reconstruction*. DualVTOFF reconstructs a canonical garment
|
| 15 |
+
image from a person image and a binary garment-region mask.
|
| 16 |
|
| 17 |
+
| Checkpoint | Output height x width |
|
| 18 |
+
| --- | --- |
|
| 19 |
+
| [VITON-HD-512-res](VITON-HD-512-res/) | 512 x 384 |
|
| 20 |
+
| [VITON-HD-1024-res](VITON-HD-1024-res/) | 1024 x 768 |
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
See the [inference code and instructions](https://github.com/locphattruong/dual-vtoff).
|
| 23 |
+
Each checkpoint includes its inference components, manifest, checksums, license,
|
| 24 |
+
and attribution notices.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Licenses
|
| 27 |
|
| 28 |
+
The checkpoint weights in this directory are released under **CreativeML Open
|
| 29 |
+
RAIL++-M**, including the use restrictions in Attachment A. The full license is
|
| 30 |
+
included in [LICENSE](LICENSE). Users and downstream distributors must comply
|
| 31 |
+
with its use, attribution, and redistribution conditions.
|
|
|
|
|
|
|
| 32 |
|
| 33 |
+
The inference source code is released separately under Apache-2.0. Component
|
| 34 |
+
copyright and license notices are preserved in [NOTICE.md](NOTICE.md) and
|
| 35 |
+
[licenses/](licenses/). The code license does not replace this model license.
|
| 36 |
+
VITON-HD data is not included and remains subject to its separate dataset terms.
|