greyDonald commited on
Commit
281c480
·
verified ·
1 Parent(s): 04f1b5c

Add inference checkpoint, portable metadata and component licenses

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +2 -0
  2. README.md +79 -0
  3. THIRD_PARTY_NOTICES.md +26 -0
  4. assets/camera/camera_centers.npz +3 -0
  5. assets/fonts/DejaVuSans.ttf +3 -0
  6. assets/fonts/LICENSE-DejaVu.txt +52 -0
  7. flexdm/design_encoder.pt +3 -0
  8. flexdm/metadata.json +443 -0
  9. humanaware/final.pt +3 -0
  10. licenses/CreativeML_Open_RAIL_M_reference_LICENSE.txt +82 -0
  11. licenses/FlexDM_Apache_2.0_LICENSE.txt +201 -0
  12. licenses/IP_Adapter_Apache_2.0_LICENSE.txt +201 -0
  13. licenses/LayerDiffuse_conversion_MIT_LICENSE.txt +21 -0
  14. licenses/LayerDiffusion_original_code_Apache_2.0_LICENSE.txt +201 -0
  15. licenses/MIT_template_SPDX_reference.txt +18 -0
  16. licenses/OpenCLIP_MIT_LICENSE.txt +23 -0
  17. licenses/OpenPose_RESTRICTED_reference_LICENSE.txt +108 -0
  18. licenses/PyTorch3D_BSD_LICENSE.txt +30 -0
  19. licenses/SDXL_CreativeML_Open_RAIL_pp_M_LICENSE.md +60 -0
  20. licenses/model_cards/clip_h__README.md +165 -0
  21. licenses/model_cards/controlnet__README.md +99 -0
  22. licenses/model_cards/ip_adapter__README.md +46 -0
  23. licenses/model_cards/layerdiffuse_attention__README.md +62 -0
  24. licenses/model_cards/layerdiffuse_decoder__README.md +5 -0
  25. licenses/model_cards/sdxl__README.md +215 -0
  26. licenses/model_cards/vae__README.md +67 -0
  27. manifest.json +632 -0
  28. model_sources.json +403 -0
  29. pose/52joints_tokenization.pth +3 -0
  30. pose_diffusion/ip_adapter/image_encoder_h2/config.json +179 -0
  31. pose_diffusion/sdxl/model_index.json +34 -0
  32. pose_diffusion/sdxl/scheduler/scheduler_config.json +18 -0
  33. pose_diffusion/sdxl/text_encoder/config.json +24 -0
  34. pose_diffusion/sdxl/text_encoder_2/config.json +24 -0
  35. pose_diffusion/sdxl/tokenizer/merges.txt +0 -0
  36. pose_diffusion/sdxl/tokenizer/special_tokens_map.json +24 -0
  37. pose_diffusion/sdxl/tokenizer/tokenizer_config.json +33 -0
  38. pose_diffusion/sdxl/tokenizer/vocab.json +0 -0
  39. pose_diffusion/sdxl/tokenizer_2/merges.txt +0 -0
  40. pose_diffusion/sdxl/tokenizer_2/special_tokens_map.json +24 -0
  41. pose_diffusion/sdxl/tokenizer_2/tokenizer_config.json +33 -0
  42. pose_diffusion/sdxl/tokenizer_2/vocab.json +0 -0
  43. pose_diffusion/sdxl/unet/config.json +69 -0
  44. pose_diffusion/sdxl/vae/config.json +32 -0
  45. pose_diffusion/vae/config.json +32 -0
  46. qwenimage21/.gitattributes +51 -0
  47. qwenimage21/LICENSE +55 -0
  48. qwenimage21/NOTICE +1 -0
  49. qwenimage21/README.md +162 -0
  50. qwenimage21/assets/qr.png +3 -0
.gitattributes CHANGED
@@ -34,3 +34,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  qwenimage21/processor/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  qwenimage21/processor/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ assets/fonts/DejaVuSans.ttf filter=lfs diff=lfs merge=lfs -text
38
+ qwenimage21/assets/qr.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: component-specific-research-licenses
4
+ license_link: https://huggingface.co/greyDonald/HumanAwareDesignGeneration/blob/main/THIRD_PARTY_NOTICES.md
5
+ tags:
6
+ - graphic-design
7
+ - human-pose
8
+ - smplx
9
+ - qwen-image
10
+ - image-to-image
11
+ pipeline_tag: image-to-image
12
+ language:
13
+ - en
14
+ ---
15
+
16
+ # Human-aware Design Generation — model resources
17
+
18
+ Resources for **Human-aware Design Generation: Adding 3D Humans into Graphic Designs**, Zijin Hou and Ying Cao, ACM Multimedia 2026.
19
+
20
+ [Paper](https://arxiv.org/abs/2609.17689) · [Code](https://github.com/GreyNails/HumanAwareDesignGeneration) · [Project page](https://greynails.github.io/HumanAwareDesignGeneration/)
21
+
22
+ **Built with Qwen.** The default final renderer is native RGBA **Qwen Image 2.1**, conditioned on a predicted mannequin for pose and the non-human input design for appearance. This is a resource bundle for the released implementation, not a claim that the optional Qwen/SDXL extensions were the original paper's architecture.
23
+
24
+ ## Contents
25
+
26
+ | Directory | Purpose |
27
+ | --- | --- |
28
+ | `humanaware/` | Trained layout and human decoders; inference-only checkpoint with portable configuration |
29
+ | `flexdm/` | Frozen design encoder and structured-input vocabulary metadata |
30
+ | `pose/` | Pose-token VQ-VAE decoder |
31
+ | `assets/camera/` | Quantized camera centers |
32
+ | `assets/fonts/` | Rendering font and its permission notice |
33
+ | `qwenimage21/` | Native Qwen Image 2.1 transformer, text encoder, RGBA VAE, processor, scheduler and tokenizers |
34
+ | `pose_diffusion/` | Optional SDXL, IP-Adapter, image encoder, VAE and LayerDiffuse resources |
35
+
36
+ `manifest.json` records relative paths, file sizes, SHA-256 checksums and public-upload eligibility. Model parameters are copied unchanged; the HumanAware checkpoint export omits training history and rewrites resource paths without changing tensors. No training dataset, validation dataset, test examples or inference results are stored here.
37
+
38
+ ## Use
39
+
40
+ Install the two Python environments described in the code README. From the code repository, download resources into the sibling `../weight` directory:
41
+
42
+ ```bash
43
+ python scripts/download_weights.py --weights-dir ../weight
44
+ # After separately installing your licensed SMPL-X model:
45
+ python scripts/run_demo.py --weights-dir ../weight --render-gt
46
+ ```
47
+
48
+ The default download includes the core model and Qwen. Pass `--include-sdxl` for optional SDXL resources, or `--revision <commit>` for a fixed release. Code and project-page publication are subject to the repository owner's final review; this model upload does not itself publish the code.
49
+
50
+ ## Separately obtained resources
51
+
52
+ Two resources are deliberately **not redistributed in this public repository**:
53
+
54
+ - `assets/body_models/smplx/SMPLX_NEUTRAL.npz`: obtain directly from the [official SMPL-X provider](https://smpl-x.is.tue.mpg.de/) under its [model license](https://smpl-x.is.tue.mpg.de/modellicense.html). Use the code's `scripts/install_smplx.py` to install your copy. It is required for white-model rendering and the default complete pipeline.
55
+ - `pose_diffusion/controlnet/{config.json,diffusion_pytorch_model.safetensors}`: the optional [SDXL OpenPose ControlNet](https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0) refers to the restrictive [OpenPose license](https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/LICENSE). Obtain it from the original provider under applicable terms if using SDXL. The default Qwen pipeline does not use ControlNet.
56
+
57
+ The owner's local resource bundle contains these files for authorized local use. Their entries and hashes remain in the manifest with `public_upload: false` so missing public downloads are explicit.
58
+
59
+ ## Licenses and attribution
60
+
61
+ This is a mixed-license resource bundle. See [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md), `model_sources.json`, and the individual license texts. In particular, **Qwen Image 2.1 is licensed under the Qwen RESEARCH LICENSE AGREEMENT (September 20, 2026), for non-commercial use subject to its terms**. SDXL and LayerDiffuse weights have their own OpenRAIL terms; permissive code or conversion licenses do not replace upstream model restrictions. No blanket license is granted to all bundled components.
62
+
63
+ Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) 2026 Hangzhou Tongyi Laboratory Technology Co., Ltd. All Rights Reserved.
64
+
65
+ ## Validation and limitations
66
+
67
+ The released core resources were checked through independent structured-input inference, white-model rendering and GT comparison on three original demonstration cases. Native Qwen RGBA rendering uses two image references, BF16, CPU offloading, 40 steps and no VAE tiling on an NVIDIA L40. Generated people can vary in pose detail, hand fidelity and clothing appearance; inspect results for your use case. GT is used for post-generation comparison only.
68
+
69
+ ## Citation
70
+
71
+ ```bibtex
72
+ @inproceedings{hou2026humanaware,
73
+ title = {Human-aware Design Generation: Adding 3D Humans into Graphic Designs},
74
+ author = {Hou, Zijin and Cao, Ying},
75
+ booktitle = {Proceedings of the 34th ACM International Conference on Multimedia},
76
+ year = {2026},
77
+ doi = {10.1145/3767308.3836019}
78
+ }
79
+ ```
THIRD_PARTY_NOTICES.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Third-party notices
2
+
3
+ This release combines separately licensed source code, user-provided research checkpoints, model resources and demonstration materials. No single license is asserted over all of them. Preserve upstream licenses and follow the terms applicable to each component.
4
+
5
+ | Component | Source and terms |
6
+ | --- | --- |
7
+ | FlexDM encoder source | [CyberAgentAILab/flex-dm](https://github.com/CyberAgentAILab/flex-dm), Apache License 2.0. The license is retained at `vendor/flexdm/LICENSE`. The supplied encoder checkpoint was extracted from the project's locally trained FlexDM model; provenance is recorded in `vendor/flexdm/provenance.json`. |
8
+ | Pose token decoder | User-provided original project's VQ-VAE source and `52joints_tokenization.pth`. Source provenance is in `vendor/render/PROVENANCE.json`; no new blanket license is assigned to that checkpoint. |
9
+ | Rotation utilities | Meta PyTorch3D, BSD-style license; retain the copyright header and accompanying `vendor/render/LICENSE.pytorch3d`. |
10
+ | LayerDiffuse source | [rootonchair/diffusers-LayerDiffuse](https://github.com/rootonchair/diffusers-LayerDiffuse), based on [lllyasviel/LayerDiffuse](https://github.com/lllyasviel/LayerDiffuse). The upstream source license is retained in `vendor/pose_renderer/`. Model weights have separate terms. |
11
+ | Qwen Image 2.1 | [Qwen/Qwen-Image-2.1](https://huggingface.co/Qwen/Qwen-Image-2.1). **Qwen RESEARCH LICENSE AGREEMENT**, September 20, 2026; non-commercial use subject to its terms. Full `LICENSE` and `NOTICE` are retained with the model resources. **Built with Qwen.** |
12
+ | SMPL-X body model | [Official SMPL-X model license](https://smpl-x.is.tue.mpg.de/modellicense.html). Obtain an authorized copy directly from the provider. The public resource repository does not redistribute it. |
13
+ | SDXL base (optional) | [stabilityai/stable-diffusion-xl-base-1.0](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0), CreativeML Open RAIL++-M. |
14
+ | SDXL OpenPose ControlNet (optional) | [thibaud/controlnet-openpose-sdxl-1.0](https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0); the model card refers to the [OpenPose license](https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/LICENSE). That license restricts redistribution. The checkpoint is excluded from this public resource mirror; obtain it from its provider under the applicable terms. |
15
+ | IP-Adapter (optional) | [h94/IP-Adapter](https://huggingface.co/h94/IP-Adapter), Apache License 2.0. Its CLIP ViT-H image encoder matches [laion/CLIP-ViT-H-14-laion2B-s32B-b79K](https://huggingface.co/laion/CLIP-ViT-H-14-laion2B-s32B-b79K), MIT. |
16
+ | SDXL fp16 VAE fix (optional) | [madebyollin/sdxl-vae-fp16-fix](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix), model-card license MIT; preserve upstream attribution and applicable base-model terms. |
17
+ | LayerDiffuse weights (optional) | Original [LayerDiffusion](https://huggingface.co/LayerDiffusion/layerdiffusion) weights declare CreativeML Open RAIL-M. The [rootonchair conversion](https://huggingface.co/rootonchair/diffuser_layerdiffuse) declares MIT; conversion metadata does not replace original model terms. |
18
+ | DejaVu font | Bitstream Vera permission notice, with DejaVu changes in the public domain. The font and notice are stored under `weight/assets/fonts/`. |
19
+
20
+ The public weight bundle retains component-specific license texts and a source/license inventory. SMPL-X and the OpenPose ControlNet remain available only in the owner's local resource directory unless separate redistribution rights are established. Other downloaded packages retain their own licenses; see their distributions.
21
+
22
+ Original example design elements and paper figures are included for demonstration and research. Their inclusion does not grant a new blanket license to the underlying artwork, imagery, fonts or depicted material. The project README and page display only original paper figures, not development inference results.
23
+
24
+ Required Qwen notice:
25
+
26
+ > Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) 2026 Hangzhou Tongyi Laboratory Technology Co., Ltd. All Rights Reserved.
assets/camera/camera_centers.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f08c905c7461f86efeead881d4ba35d3d3bc7f7d8e9c4301894290efeaceb20
3
+ size 3796
assets/fonts/DejaVuSans.ttf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:437a5ecec2ec177cba9284cbffc56055311347f3e9fe4f2b4b40323d0290a6db
3
+ size 757076
assets/fonts/LICENSE-DejaVu.txt ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2
+ Upstream-Name: DejaVu fonts
3
+ Upstream-Author: Stepan Roh <src@users.sourceforge.net> (original author),
4
+ see /usr/share/doc/ttf-dejavu/AUTHORS for full list
5
+ Source: http://dejavu-fonts.org/
6
+
7
+ Files: *
8
+ Copyright: Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.
9
+ Bitstream Vera is a trademark of Bitstream, Inc.
10
+ DejaVu changes are in public domain.
11
+ License: bitstream-vera
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of the fonts accompanying this license ("Fonts") and associated
14
+ documentation files (the "Font Software"), to reproduce and distribute the
15
+ Font Software, including without limitation the rights to use, copy, merge,
16
+ publish, distribute, and/or sell copies of the Font Software, and to permit
17
+ persons to whom the Font Software is furnished to do so, subject to the
18
+ following conditions:
19
+ .
20
+ The above copyright and trademark notices and this permission notice shall
21
+ be included in all copies of one or more of the Font Software typefaces.
22
+ .
23
+ The Font Software may be modified, altered, or added to, and in particular
24
+ the designs of glyphs or characters in the Fonts may be modified and
25
+ additional glyphs or characters may be added to the Fonts, only if the fonts
26
+ are renamed to names not containing either the words "Bitstream" or the word
27
+ "Vera".
28
+ .
29
+ This License becomes null and void to the extent applicable to Fonts or Font
30
+ Software that has been modified and is distributed under the "Bitstream
31
+ Vera" names.
32
+ .
33
+ The Font Software may be sold as part of a larger software package but no
34
+ copy of one or more of the Font Software typefaces may be sold by itself.
35
+ .
36
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
37
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
38
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
39
+ TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
40
+ FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
41
+ ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
42
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
43
+ THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
44
+ FONT SOFTWARE.
45
+ .
46
+ Except as contained in this notice, the names of Gnome, the Gnome
47
+ Foundation, and Bitstream Inc., shall not be used in advertising or
48
+ otherwise to promote the sale, use or other dealings in this Font Software
49
+ without prior written authorization from the Gnome Foundation or Bitstream
50
+ Inc., respectively. For further information, contact: fonts at gnome dot
51
+ org.
52
+
flexdm/design_encoder.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b75c3dab8a1f5e4f9dd7b6fb8c43f82a4ec11143545329e9937e291a58fc5e01
3
+ size 9859050
flexdm/metadata.json ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": {
3
+ "type": {
4
+ "type": "categorical",
5
+ "input_dim": 6,
6
+ "shape": [
7
+ 1
8
+ ],
9
+ "is_sequence": true,
10
+ "primary_label": 0
11
+ },
12
+ "left": {
13
+ "type": "categorical",
14
+ "input_dim": 64,
15
+ "shape": [
16
+ 1
17
+ ],
18
+ "is_sequence": true,
19
+ "primary_label": null
20
+ },
21
+ "top": {
22
+ "type": "categorical",
23
+ "input_dim": 64,
24
+ "shape": [
25
+ 1
26
+ ],
27
+ "is_sequence": true,
28
+ "primary_label": null
29
+ },
30
+ "width": {
31
+ "type": "categorical",
32
+ "input_dim": 64,
33
+ "shape": [
34
+ 1
35
+ ],
36
+ "is_sequence": true,
37
+ "primary_label": null
38
+ },
39
+ "height": {
40
+ "type": "categorical",
41
+ "input_dim": 64,
42
+ "shape": [
43
+ 1
44
+ ],
45
+ "is_sequence": true,
46
+ "primary_label": null
47
+ },
48
+ "opacity": {
49
+ "type": "categorical",
50
+ "input_dim": 8,
51
+ "shape": [
52
+ 1
53
+ ],
54
+ "is_sequence": true,
55
+ "primary_label": null
56
+ },
57
+ "color": {
58
+ "type": "categorical",
59
+ "input_dim": 16,
60
+ "shape": [
61
+ 3
62
+ ],
63
+ "is_sequence": true,
64
+ "primary_label": null,
65
+ "loss_condition": {
66
+ "key": "type",
67
+ "mask": [
68
+ false,
69
+ false,
70
+ true,
71
+ false,
72
+ true,
73
+ false
74
+ ]
75
+ }
76
+ },
77
+ "image_embedding": {
78
+ "type": "numerical",
79
+ "shape": [
80
+ 512
81
+ ],
82
+ "is_sequence": true,
83
+ "primary_label": null,
84
+ "loss_condition": {
85
+ "key": "type",
86
+ "mask": [
87
+ false,
88
+ true,
89
+ false,
90
+ true,
91
+ false,
92
+ true
93
+ ]
94
+ }
95
+ },
96
+ "text_embedding": {
97
+ "type": "numerical",
98
+ "shape": [
99
+ 512
100
+ ],
101
+ "is_sequence": true,
102
+ "primary_label": null,
103
+ "loss_condition": {
104
+ "key": "type",
105
+ "mask": [
106
+ false,
107
+ false,
108
+ true,
109
+ false,
110
+ false,
111
+ false
112
+ ]
113
+ }
114
+ },
115
+ "font_family": {
116
+ "type": "categorical",
117
+ "input_dim": 35,
118
+ "shape": [
119
+ 1
120
+ ],
121
+ "is_sequence": true,
122
+ "primary_label": null,
123
+ "loss_condition": {
124
+ "key": "type",
125
+ "mask": [
126
+ false,
127
+ false,
128
+ true,
129
+ false,
130
+ false,
131
+ false
132
+ ]
133
+ }
134
+ }
135
+ },
136
+ "vocabularies": {
137
+ "length": [
138
+ 1,
139
+ 2,
140
+ 3,
141
+ 4,
142
+ 5,
143
+ 6,
144
+ 7,
145
+ 8,
146
+ 9,
147
+ 10,
148
+ 11,
149
+ 12,
150
+ 13,
151
+ 14,
152
+ 15,
153
+ 16,
154
+ 17,
155
+ 18,
156
+ 19,
157
+ 20,
158
+ 21,
159
+ 22,
160
+ 23,
161
+ 24,
162
+ 25,
163
+ 26,
164
+ 27,
165
+ 28,
166
+ 29,
167
+ 30,
168
+ 31,
169
+ 32,
170
+ 33,
171
+ 34,
172
+ 35,
173
+ 36,
174
+ 37,
175
+ 38,
176
+ 39,
177
+ 40,
178
+ 41,
179
+ 42,
180
+ 43,
181
+ 44,
182
+ 45,
183
+ 46,
184
+ 47,
185
+ 48,
186
+ 49,
187
+ 50
188
+ ],
189
+ "group": [
190
+ "",
191
+ "[UNK]",
192
+ "SM",
193
+ "HC",
194
+ "MM",
195
+ "SMA",
196
+ "EO",
197
+ "BG"
198
+ ],
199
+ "format": [
200
+ "",
201
+ "[UNK]",
202
+ "Instagram Story",
203
+ "Instagram",
204
+ "Facebook",
205
+ "Facebook cover",
206
+ "Twitter",
207
+ "Facebook AD",
208
+ "Poster",
209
+ "Instagram AD",
210
+ "Tumblr",
211
+ "Image",
212
+ "Pinterest",
213
+ "Flayer",
214
+ "FB event cover",
215
+ "Postcard",
216
+ "Invitation",
217
+ "Youtube",
218
+ "Email header",
219
+ "Medium Rectangle",
220
+ "Poster US",
221
+ "Graphic",
222
+ "Large Rectangle",
223
+ "Card",
224
+ "Logo",
225
+ "Title",
226
+ "Skyscraper",
227
+ "Leaderboard",
228
+ "Presentation",
229
+ "Gift Certificate",
230
+ "Youtube Thumbnail",
231
+ "Business card",
232
+ "VK Universal Post",
233
+ "Book Cover",
234
+ "Presentation Wide",
235
+ "VK Community Cover",
236
+ "Certificate",
237
+ "Zoom Background",
238
+ "VK Post with Button",
239
+ "T-Shirt",
240
+ "Instagram Highlight Cover",
241
+ "Coupon",
242
+ "IGTV Cover",
243
+ "Album Cover",
244
+ "Invoice",
245
+ "Storyboard",
246
+ "Schedule Planner",
247
+ "Mood Board",
248
+ "Menu",
249
+ "Mind Map",
250
+ "Label",
251
+ "LinkedIn Cover",
252
+ "Recipe Card",
253
+ "Resume",
254
+ "Ticket",
255
+ "Brochure",
256
+ "Proposal",
257
+ "Snapchat Geofilter",
258
+ "Twitch Offline Banner",
259
+ "Snapchat Moment Filter",
260
+ "Twitch Profile Banner",
261
+ "Newsletter",
262
+ "Infographic",
263
+ "Mobile Presentation",
264
+ "Photo Book",
265
+ "Web Banner",
266
+ "Gallery Image",
267
+ "Letterhead",
268
+ "Calendar"
269
+ ],
270
+ "canvas_width": [
271
+ -1,
272
+ 1080,
273
+ 1200,
274
+ 940,
275
+ 851,
276
+ 360,
277
+ 1920,
278
+ 1190,
279
+ 419,
280
+ 600,
281
+ 1024,
282
+ 1600,
283
+ 735,
284
+ 2560,
285
+ 3000,
286
+ 1500,
287
+ 300,
288
+ 540,
289
+ 1296,
290
+ 336,
291
+ 500,
292
+ 595,
293
+ 432,
294
+ 560,
295
+ 160,
296
+ 1280,
297
+ 728,
298
+ 241,
299
+ 1000,
300
+ 1590,
301
+ 792,
302
+ 576,
303
+ 537,
304
+ 1008,
305
+ 420,
306
+ 1128,
307
+ 396,
308
+ 841,
309
+ 800,
310
+ 240,
311
+ 635,
312
+ 842
313
+ ],
314
+ "canvas_height": [
315
+ -1,
316
+ 1080,
317
+ 1920,
318
+ 315,
319
+ 788,
320
+ 628,
321
+ 600,
322
+ 504,
323
+ 1683,
324
+ 298,
325
+ 500,
326
+ 512,
327
+ 1102,
328
+ 1440,
329
+ 200,
330
+ 400,
331
+ 250,
332
+ 810,
333
+ 1728,
334
+ 1200,
335
+ 280,
336
+ 288,
337
+ 90,
338
+ 1055,
339
+ 720,
340
+ 768,
341
+ 841,
342
+ 142,
343
+ 700,
344
+ 612,
345
+ 2560,
346
+ 2000,
347
+ 240,
348
+ 216,
349
+ 842,
350
+ 1296,
351
+ 2340,
352
+ 654,
353
+ 1600,
354
+ 191,
355
+ 297,
356
+ 595,
357
+ 480,
358
+ 576,
359
+ 320,
360
+ 141,
361
+ 380
362
+ ],
363
+ "category": [
364
+ "",
365
+ "[UNK]",
366
+ "holidaysCelebration",
367
+ "foodDrinks",
368
+ "fashionStyle",
369
+ "homeStuff",
370
+ "handcraftArt",
371
+ "businessFinance",
372
+ "beauty",
373
+ "leisureEntertainment",
374
+ "natureWildlife",
375
+ "educationScience",
376
+ "technology",
377
+ "medical",
378
+ "sportExtreme",
379
+ "realEstateBuilding",
380
+ "socialActivityCharity",
381
+ "travelsVacations",
382
+ "pets",
383
+ "religions",
384
+ "citiesPlaces",
385
+ "industry",
386
+ "transportation",
387
+ "kidsParents",
388
+ "all"
389
+ ],
390
+ "type": [
391
+ "",
392
+ "svgElement",
393
+ "textElement",
394
+ "imageElement",
395
+ "coloredBackground",
396
+ "maskElement"
397
+ ],
398
+ "font_family": [
399
+ "[UNK]",
400
+ "DummyFont",
401
+ "Montserrat",
402
+ "Bebas Neue",
403
+ "Raleway",
404
+ "Josefin Sans",
405
+ "Playfair Display",
406
+ "Oswald",
407
+ "Cantarell",
408
+ "Abril Fatface",
409
+ "Prompt",
410
+ "Blogger",
411
+ "Comfortaa",
412
+ "Rubik",
413
+ "Open Sans",
414
+ "Roboto",
415
+ "Libre Baskerville",
416
+ "Dosis",
417
+ "Quicksand",
418
+ "Podkova",
419
+ "Lato",
420
+ "Cormorant Infant",
421
+ "Amatic SC",
422
+ "Fjalla One",
423
+ "Arapey",
424
+ "Playlist Script",
425
+ "Baloo Tamma",
426
+ "Graduate",
427
+ "Kreon",
428
+ "Titillium Web",
429
+ "Nunito",
430
+ "Rammetto One",
431
+ "Anton",
432
+ "Poiret One",
433
+ "Alfa Slab One"
434
+ ]
435
+ },
436
+ "splits": {
437
+ "train": 18587,
438
+ "val": 2292,
439
+ "test": 2248
440
+ },
441
+ "zero_based_length": true,
442
+ "tensorflow_export_version": "2.11.0"
443
+ }
humanaware/final.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64082b9a9a7273977679d6456c9f08ffefbe5a19bdeffef513c10566286e207c
3
+ size 137593522
licenses/CreativeML_Open_RAIL_M_reference_LICENSE.txt ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2022 Robin Rombach and Patrick Esser and contributors
2
+
3
+ CreativeML Open RAIL-M
4
+ dated August 22, 2022
5
+
6
+ Section I: PREAMBLE
7
+
8
+ Multimodal generative models are being widely adopted and used, and have the potential to transform the way artists, among other individuals, conceive and benefit from AI or ML technologies as a tool for content creation.
9
+
10
+ Notwithstanding the current and potential benefits that these artifacts can bring to society at large, there are also concerns about potential misuses of them, either due to their technical limitations or ethical considerations.
11
+
12
+ In short, this license strives for both the open and responsible downstream use of the accompanying model. When it comes to the open character, we took inspiration from open source permissive licenses regarding the grant of IP rights. Referring to the downstream responsible use, we added use-based restrictions not permitting the use of the Model in very specific scenarios, in order for the licensor to be able to enforce the license in case potential misuses of the Model may occur. At the same time, we strive to promote open and responsible research on generative models for art and content generation.
13
+
14
+ Even though downstream derivative versions of the model could be released under different licensing terms, the latter will always have to include - at minimum - the same use-based restrictions as the ones in the original license (this license). We believe in the intersection between open and responsible AI development; thus, this License aims to strike a balance between both in order to enable responsible open-science in the field of AI.
15
+
16
+ This License governs the use of the model (and its derivatives) and is informed by the model card associated with the model.
17
+
18
+ NOW THEREFORE, You and Licensor agree as follows:
19
+
20
+ 1. Definitions
21
+
22
+ - "License" means the terms and conditions for use, reproduction, and Distribution as defined in this document.
23
+ - "Data" means a collection of information and/or content extracted from the dataset used with the Model, including to train, pretrain, or otherwise evaluate the Model. The Data is not licensed under this License.
24
+ - "Output" means the results of operating a Model as embodied in informational content resulting therefrom.
25
+ - "Model" means any accompanying machine-learning based assemblies (including checkpoints), consisting of learnt weights, parameters (including optimizer states), corresponding to the model architecture as embodied in the Complementary Material, that have been trained or tuned, in whole or in part on the Data, using the Complementary Material.
26
+ - "Derivatives of the Model" means all modifications to the Model, works based on the Model, or any other model which is created or initialized by transfer of patterns of the weights, parameters, activations or output of the Model, to the other model, in order to cause the other model to perform similarly to the Model, including - but not limited to - distillation methods entailing the use of intermediate data representations or methods based on the generation of synthetic data by the Model for training the other model.
27
+ - "Complementary Material" means the accompanying source code and scripts used to define, run, load, benchmark or evaluate the Model, and used to prepare data for training or evaluation, if any. This includes any accompanying documentation, tutorials, examples, etc, if any.
28
+ - "Distribution" means any transmission, reproduction, publication or other sharing of the Model or Derivatives of the Model to a third party, including providing the Model as a hosted service made available by electronic or other remote means - e.g. API-based or web access.
29
+ - "Licensor" means the copyright owner or entity authorized by the copyright owner that is granting the License, including the persons or entities that may have rights in the Model and/or distributing the Model.
30
+ - "You" (or "Your") means an individual or Legal Entity exercising permissions granted by this License and/or making use of the Model for whichever purpose and in any field of use, including usage of the Model in an end-use application - e.g. chatbot, translator, image generator.
31
+ - "Third Parties" means individuals or legal entities that are not under common control with Licensor or You.
32
+ - "Contribution" means any work of authorship, including the original version of the Model and any modifications or additions to that Model or Derivatives of the Model thereof, that is intentionally submitted to Licensor for inclusion in the Model by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Model, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
33
+ - "Contributor" means Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Model.
34
+
35
+ Section II: INTELLECTUAL PROPERTY RIGHTS
36
+
37
+ Both copyright and patent grants apply to the Model, Derivatives of the Model and Complementary Material. The Model and Derivatives of the Model are subject to additional terms as described in Section III.
38
+
39
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare, publicly display, publicly perform, sublicense, and distribute the Complementary Material, the Model, and Derivatives of the Model.
40
+ 3. Grant of Patent License. Subject to the terms and conditions of this License and where and as applicable, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this paragraph) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Model and the Complementary Material, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Model to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Model and/or Complementary Material or a Contribution incorporated within the Model and/or Complementary Material constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for the Model and/or Work shall terminate as of the date such litigation is asserted or filed.
41
+
42
+ Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION
43
+
44
+ 4. Distribution and Redistribution. You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications, provided that You meet the following conditions:
45
+ Use-based restrictions as referenced in paragraph 5 MUST be included as an enforceable provision by You in any type of legal agreement (e.g. a license) governing the use and/or distribution of the Model or Derivatives of the Model, and You shall give notice to subsequent users You Distribute to, that the Model or Derivatives of the Model are subject to paragraph 5. This provision does not apply to the use of Complementary Material.
46
+ You must give any Third Party recipients of the Model or Derivatives of the Model a copy of this License;
47
+ You must cause any modified files to carry prominent notices stating that You changed the files;
48
+ You must retain all copyright, patent, trademark, and attribution notices excluding those notices that do not pertain to any part of the Model, Derivatives of the Model.
49
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions - respecting paragraph 4.a. - for use, reproduction, or Distribution of Your modifications, or for any such Derivatives of the Model as a whole, provided Your use, reproduction, and Distribution of the Model otherwise complies with the conditions stated in this License.
50
+ 5. Use-based restrictions. The restrictions set forth in Attachment A are considered Use-based restrictions. Therefore You cannot use the Model and the Derivatives of the Model for the specified restricted uses. You may use the Model subject to this License, including only for lawful purposes and in accordance with the License. Use may include creating any content with, finetuning, updating, running, training, evaluating and/or reparametrizing the Model. You shall require all of Your users who use the Model or a Derivative of the Model to comply with the terms of this paragraph (paragraph 5).
51
+ 6. The Output You Generate. Except as set forth herein, Licensor claims no rights in the Output You generate using the Model. You are accountable for the Output you generate and its subsequent uses. No use of the output can contravene any provision as stated in the License.
52
+
53
+ Section IV: OTHER PROVISIONS
54
+
55
+ 7. Updates and Runtime Restrictions. To the maximum extent permitted by law, Licensor reserves the right to restrict (remotely or otherwise) usage of the Model in violation of this License, update the Model through electronic means, or modify the Output of the Model based on updates. You shall undertake reasonable efforts to use the latest version of the Model.
56
+ 8. Trademarks and related. Nothing in this License permits You to make use of Licensors’ trademarks, trade names, logos or to otherwise suggest endorsement or misrepresent the relationship between the parties; and any rights not expressly granted herein are reserved by the Licensors.
57
+ 9. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Model and the Complementary Material (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Model, Derivatives of the Model, and the Complementary Material and assume any risks associated with Your exercise of permissions under this License.
58
+ 10. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Model and the Complementary Material (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
59
+ 11. Accepting Warranty or Additional Liability. While redistributing the Model, Derivatives of the Model and the Complementary Material thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
60
+ 12. If any provision of this License is held to be invalid, illegal or unenforceable, the remaining provisions shall be unaffected thereby and remain valid as if such provision had not been set forth herein.
61
+
62
+ END OF TERMS AND CONDITIONS
63
+
64
+
65
+
66
+
67
+ Attachment A
68
+
69
+ Use Restrictions
70
+
71
+ You agree not to use the Model or Derivatives of the Model:
72
+ - In any way that violates any applicable national, federal, state, local or international law or regulation;
73
+ - For the purpose of exploiting, harming or attempting to exploit or harm minors in any way;
74
+ - To generate or disseminate verifiably false information and/or content with the purpose of harming others;
75
+ - To generate or disseminate personal identifiable information that can be used to harm an individual;
76
+ - To defame, disparage or otherwise harass others;
77
+ - For fully automated decision making that adversely impacts an individual’s legal rights or otherwise creates or modifies a binding, enforceable obligation;
78
+ - For any use intended to or which has the effect of discriminating against or harming individuals or groups based on online or offline social behavior or known or predicted personal or personality characteristics;
79
+ - To exploit any of the vulnerabilities of a specific group of persons based on their age, social, physical or mental characteristics, in order to materially distort the behavior of a person pertaining to that group in a manner that causes or is likely to cause that person or another person physical or psychological harm;
80
+ - For any use intended to or which has the effect of discriminating against individuals or groups based on legally protected characteristics or categories;
81
+ - To provide medical advice and medical results interpretation;
82
+ - To generate or disseminate information for the purpose to be used for administration of justice, law enforcement, immigration or asylum processes, such as predicting an individual will commit fraud/crime commitment (e.g. by text profiling, drawing causal relationships between assertions made in documents, indiscriminate and arbitrarily-targeted use).
licenses/FlexDM_Apache_2.0_LICENSE.txt ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2023 Naoto Inoue
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
licenses/IP_Adapter_Apache_2.0_LICENSE.txt ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
licenses/LayerDiffuse_conversion_MIT_LICENSE.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Vinh H. Pham
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
licenses/LayerDiffusion_original_code_Apache_2.0_LICENSE.txt ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
licenses/MIT_template_SPDX_reference.txt ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) <year> <copyright holders>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
6
+ associated documentation files (the "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
9
+ following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies or substantial
12
+ portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
15
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
16
+ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
18
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
licenses/OpenCLIP_MIT_LICENSE.txt ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2012-2021 Gabriel Ilharco, Mitchell Wortsman,
2
+ Nicholas Carlini, Rohan Taori, Achal Dave, Vaishaal Shankar,
3
+ John Miller, Hongseok Namkoong, Hannaneh Hajishirzi, Ali Farhadi,
4
+ Ludwig Schmidt
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ "Software"), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
licenses/OpenPose_RESTRICTED_reference_LICENSE.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ OPENPOSE: MULTIPERSON KEYPOINT DETECTION
2
+ SOFTWARE LICENSE AGREEMENT
3
+ ACADEMIC OR NON-PROFIT ORGANIZATION NONCOMMERCIAL RESEARCH USE ONLY
4
+
5
+ BY USING OR DOWNLOADING THE SOFTWARE, YOU ARE AGREEING TO THE TERMS OF THIS LICENSE AGREEMENT. IF YOU DO NOT AGREE WITH THESE TERMS, YOU MAY NOT USE OR DOWNLOAD THE SOFTWARE.
6
+
7
+ This is a license agreement ("Agreement") between your academic institution or non-profit organization or self (called "Licensee" or "You" in this Agreement) and Carnegie Mellon University (called "Licensor" in this Agreement). All rights not specifically granted to you in this Agreement are reserved for Licensor.
8
+
9
+ RESERVATION OF OWNERSHIP AND GRANT OF LICENSE:
10
+ Licensor retains exclusive ownership of any copy of the Software (as defined below) licensed under this Agreement and hereby grants to Licensee a personal, non-exclusive,
11
+ non-transferable license to use the Software for noncommercial research purposes, without the right to sublicense, pursuant to the terms and conditions of this Agreement. As used in this Agreement, the term "Software" means (i) the actual copy of all or any portion of code for program routines made accessible to Licensee by Licensor pursuant to this Agreement, inclusive of backups, updates, and/or merged copies permitted hereunder or subsequently supplied by Licensor, including all or any file structures, programming instructions, user interfaces and screen formats and sequences as well as any and all documentation and instructions related to it, and (ii) all or any derivatives and/or modifications created or made by You to any of the items specified in (i).
12
+
13
+ CONFIDENTIALITY: Licensee acknowledges that the Software is proprietary to Licensor, and as such, Licensee agrees to receive all such materials in confidence and use the Software only in accordance with the terms of this Agreement. Licensee agrees to use reasonable effort to protect the Software from unauthorized use, reproduction, distribution, or publication.
14
+
15
+ COPYRIGHT: The Software is owned by Licensor and is protected by United
16
+ States copyright laws and applicable international treaties and/or conventions.
17
+
18
+ PERMITTED USES: The Software may be used for your own noncommercial internal research purposes. You understand and agree that Licensor is not obligated to implement any suggestions and/or feedback you might provide regarding the Software, but to the extent Licensor does so, you are not entitled to any compensation related thereto.
19
+
20
+ DERIVATIVES: You may create derivatives of or make modifications to the Software, however, You agree that all and any such derivatives and modifications will be owned by Licensor and become a part of the Software licensed to You under this Agreement.  You may only use such derivatives and modifications for your own noncommercial internal research purposes, and you may not otherwise use, distribute or copy such derivatives and modifications in violation of this Agreement.
21
+
22
+ BACKUPS: If Licensee is an organization, it may make that number of copies of the Software necessary for internal noncommercial use at a single site within its organization provided that all information appearing in or on the original labels, including the copyright and trademark notices are copied onto the labels of the copies.
23
+
24
+ USES NOT PERMITTED: You may not distribute, copy or use the Software except as explicitly permitted herein. Licensee has not been granted any trademark license as part of this Agreement and may not use the name or mark “OpenPose", "Carnegie Mellon" or any renditions thereof without the prior written permission of Licensor.
25
+
26
+ You may not sell, rent, lease, sublicense, lend, time-share or transfer, in whole or in part, or provide third parties access to prior or present versions (or any parts thereof) of the Software.
27
+
28
+ ASSIGNMENT: You may not assign this Agreement or your rights hereunder without the prior written consent of Licensor. Any attempted assignment without such consent shall be null and void.
29
+
30
+ TERM: The term of the license granted by this Agreement is from Licensee's acceptance of this Agreement by downloading the Software or by using the Software until terminated as provided below.
31
+
32
+ The Agreement automatically terminates without notice if you fail to comply with any provision of this Agreement. Licensee may terminate this Agreement by ceasing using the Software. Upon any termination of this Agreement, Licensee will delete any and all copies of the Software. You agree that all provisions which operate to protect the proprietary rights of Licensor shall remain in force should breach occur and that the obligation of confidentiality described in this Agreement is binding in perpetuity and, as such, survives the term of the Agreement.
33
+
34
+ FEE: Provided Licensee abides completely by the terms and conditions of this Agreement, there is no fee due to Licensor for Licensee's use of the Software in accordance with this Agreement.
35
+
36
+ DISCLAIMER OF WARRANTIES: THE SOFTWARE IS PROVIDED "AS-IS" WITHOUT WARRANTY OF ANY KIND INCLUDING ANY WARRANTIES OF PERFORMANCE OR MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE OR PURPOSE OR OF NON-INFRINGEMENT. LICENSEE BEARS ALL RISK RELATING TO QUALITY AND PERFORMANCE OF THE SOFTWARE AND RELATED MATERIALS.
37
+
38
+ SUPPORT AND MAINTENANCE: No Software support or training by the Licensor is provided as part of this Agreement.
39
+
40
+ EXCLUSIVE REMEDY AND LIMITATION OF LIABILITY: To the maximum extent permitted under applicable law, Licensor shall not be liable for direct, indirect, special, incidental, or consequential damages or lost profits related to Licensee's use of and/or inability to use the Software, even if Licensor is advised of the possibility of such damage.
41
+
42
+ EXPORT REGULATION: Licensee agrees to comply with any and all applicable
43
+ U.S. export control laws, regulations, and/or other laws related to embargoes and sanction programs administered by the Office of Foreign Assets Control.
44
+
45
+ SEVERABILITY: If any provision(s) of this Agreement shall be held to be invalid, illegal, or unenforceable by a court or other tribunal of competent jurisdiction, the validity, legality and enforceability of the remaining provisions shall not in any way be affected or impaired thereby.
46
+
47
+ NO IMPLIED WAIVERS: No failure or delay by Licensor in enforcing any right or remedy under this Agreement shall be construed as a waiver of any future or other exercise of such right or remedy by Licensor.
48
+
49
+ GOVERNING LAW: This Agreement shall be construed and enforced in accordance with the laws of the Commonwealth of Pennsylvania without reference to conflict of laws principles. You consent to the personal jurisdiction of the courts of this County and waive their rights to venue outside of Allegheny County, Pennsylvania.
50
+
51
+ ENTIRE AGREEMENT AND AMENDMENTS: This Agreement constitutes the sole and entire agreement between Licensee and Licensor as to the matter set forth herein and supersedes any previous agreements, understandings, and arrangements between the parties relating hereto.
52
+
53
+
54
+
55
+ ************************************************************************
56
+
57
+ THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
58
+
59
+ This project incorporates material from the project(s) listed below (collectively, "Third Party Code"). This Third Party Code is licensed to you under their original license terms set forth below. We reserves all other rights not expressly granted, whether by implication, estoppel or otherwise.
60
+
61
+ 1. Caffe, version 1.0.0, (https://github.com/BVLC/caffe/)
62
+
63
+ COPYRIGHT
64
+
65
+ All contributions by the University of California:
66
+ Copyright (c) 2014-2017 The Regents of the University of California (Regents)
67
+ All rights reserved.
68
+
69
+ All other contributions:
70
+ Copyright (c) 2014-2017, the respective contributors
71
+ All rights reserved.
72
+
73
+ Caffe uses a shared copyright model: each contributor holds copyright over
74
+ their contributions to Caffe. The project versioning records all such
75
+ contribution and copyright details. If a contributor wants to further mark
76
+ their specific copyright on a particular contribution, they should indicate
77
+ their copyright solely in the commit message of the change when it is
78
+ committed.
79
+
80
+ LICENSE
81
+
82
+ Redistribution and use in source and binary forms, with or without
83
+ modification, are permitted provided that the following conditions are met:
84
+
85
+ 1. Redistributions of source code must retain the above copyright notice, this
86
+ list of conditions and the following disclaimer.
87
+ 2. Redistributions in binary form must reproduce the above copyright notice,
88
+ this list of conditions and the following disclaimer in the documentation
89
+ and/or other materials provided with the distribution.
90
+
91
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
92
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
93
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
94
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
95
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
96
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
97
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
98
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
99
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
100
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
101
+
102
+ CONTRIBUTION AGREEMENT
103
+
104
+ By contributing to the BVLC/caffe repository through pull-request, comment,
105
+ or otherwise, the contributor releases their content to the
106
+ license and copyright terms herein.
107
+
108
+ ************END OF THIRD-PARTY SOFTWARE NOTICES AND INFORMATION**********
licenses/PyTorch3D_BSD_LICENSE.txt ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BSD License
2
+
3
+ For PyTorch3D software
4
+
5
+ Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without modification,
8
+ are permitted provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ * Neither the name Meta nor the names of its contributors may be used to
18
+ endorse or promote products derived from this software without specific
19
+ prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
25
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
28
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
licenses/SDXL_CreativeML_Open_RAIL_pp_M_LICENSE.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2023 Stability AI
2
+ CreativeML Open RAIL++-M License dated July 26, 2023
3
+
4
+ Section I: PREAMBLE
5
+ Multimodal generative models are being widely adopted and used, and have the potential to transform the way artists, among other individuals, conceive and benefit from AI or ML technologies as a tool for content creation.
6
+ Notwithstanding the current and potential benefits that these artifacts can bring to society at large, there are also concerns about potential misuses of them, either due to their technical limitations or ethical considerations.
7
+ In short, this license strives for both the open and responsible downstream use of the accompanying model. When it comes to the open character, we took inspiration from open source permissive licenses regarding the grant of IP rights. Referring to the downstream responsible use, we added use-based restrictions not permitting the use of the model in very specific scenarios, in order for the licensor to be able to enforce the license in case potential misuses of the Model may occur. At the same time, we strive to promote open and responsible research on generative models for art and content generation.
8
+ Even though downstream derivative versions of the model could be released under different licensing terms, the latter will always have to include - at minimum - the same use-based restrictions as the ones in the original license (this license). We believe in the intersection between open and responsible AI development; thus, this agreement aims to strike a balance between both in order to enable responsible open-science in the field of AI.
9
+ This CreativeML Open RAIL++-M License governs the use of the model (and its derivatives) and is informed by the model card associated with the model.
10
+ NOW THEREFORE, You and Licensor agree as follows:
11
+ Definitions
12
+ "License" means the terms and conditions for use, reproduction, and Distribution as defined in this document.
13
+ "Data" means a collection of information and/or content extracted from the dataset used with the Model, including to train, pretrain, or otherwise evaluate the Model. The Data is not licensed under this License.
14
+ "Output" means the results of operating a Model as embodied in informational content resulting therefrom.
15
+ "Model" means any accompanying machine-learning based assemblies (including checkpoints), consisting of learnt weights, parameters (including optimizer states), corresponding to the model architecture as embodied in the Complementary Material, that have been trained or tuned, in whole or in part on the Data, using the Complementary Material.
16
+ "Derivatives of the Model" means all modifications to the Model, works based on the Model, or any other model which is created or initialized by transfer of patterns of the weights, parameters, activations or output of the Model, to the other model, in order to cause the other model to perform similarly to the Model, including - but not limited to - distillation methods entailing the use of intermediate data representations or methods based on the generation of synthetic data by the Model for training the other model.
17
+ "Complementary Material" means the accompanying source code and scripts used to define, run, load, benchmark or evaluate the Model, and used to prepare data for training or evaluation, if any. This includes any accompanying documentation, tutorials, examples, etc, if any.
18
+ "Distribution" means any transmission, reproduction, publication or other sharing of the Model or Derivatives of the Model to a third party, including providing the Model as a hosted service made available by electronic or other remote means - e.g. API-based or web access.
19
+ "Licensor" means the copyright owner or entity authorized by the copyright owner that is granting the License, including the persons or entities that may have rights in the Model and/or distributing the Model.
20
+ "You" (or "Your") means an individual or Legal Entity exercising permissions granted by this License and/or making use of the Model for whichever purpose and in any field of use, including usage of the Model in an end-use application - e.g. chatbot, translator, image generator.
21
+ "Third Parties" means individuals or legal entities that are not under common control with Licensor or You.
22
+ "Contribution" means any work of authorship, including the original version of the Model and any modifications or additions to that Model or Derivatives of the Model thereof, that is intentionally submitted to Licensor for inclusion in the Model by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Model, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
23
+ "Contributor" means Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Model.
24
+
25
+ Section II: INTELLECTUAL PROPERTY RIGHTS
26
+ Both copyright and patent grants apply to the Model, Derivatives of the Model and Complementary Material. The Model and Derivatives of the Model are subject to additional terms as described in
27
+
28
+ Section III.
29
+ Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare, publicly display, publicly perform, sublicense, and distribute the Complementary Material, the Model, and Derivatives of the Model.
30
+ Grant of Patent License. Subject to the terms and conditions of this License and where and as applicable, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this paragraph) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Model and the Complementary Material, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Model to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Model and/or Complementary Material or a Contribution incorporated within the Model and/or Complementary Material constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for the Model and/or Work shall terminate as of the date such litigation is asserted or filed.
31
+ Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION
32
+ Distribution and Redistribution. You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications, provided that You meet the following conditions: Use-based restrictions as referenced in paragraph 5 MUST be included as an enforceable provision by You in any type of legal agreement (e.g. a license) governing the use and/or distribution of the Model or Derivatives of the Model, and You shall give notice to subsequent users You Distribute to, that the Model or Derivatives of the Model are subject to paragraph 5. This provision does not apply to the use of Complementary Material. You must give any Third Party recipients of the Model or Derivatives of the Model a copy of this License; You must cause any modified files to carry prominent notices stating that You changed the files; You must retain all copyright, patent, trademark, and attribution notices excluding those notices that do not pertain to any part of the Model, Derivatives of the Model. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions - respecting paragraph 4.a. - for use, reproduction, or Distribution of Your modifications, or for any such Derivatives of the Model as a whole, provided Your use, reproduction, and Distribution of the Model otherwise complies with the conditions stated in this License.
33
+ Use-based restrictions. The restrictions set forth in Attachment A are considered Use-based restrictions. Therefore You cannot use the Model and the Derivatives of the Model for the specified restricted uses. You may use the Model subject to this License, including only for lawful purposes and in accordance with the License. Use may include creating any content with, finetuning, updating, running, training, evaluating and/or reparametrizing the Model. You shall require all of Your users who use the Model or a Derivative of the Model to comply with the terms of this paragraph (paragraph 5).
34
+ The Output You Generate. Except as set forth herein, Licensor claims no rights in the Output You generate using the Model. You are accountable for the Output you generate and its subsequent uses. No use of the output can contravene any provision as stated in the License.
35
+
36
+ Section IV: OTHER PROVISIONS
37
+ Updates and Runtime Restrictions. To the maximum extent permitted by law, Licensor reserves the right to restrict (remotely or otherwise) usage of the Model in violation of this License.
38
+ Trademarks and related. Nothing in this License permits You to make use of Licensors’ trademarks, trade names, logos or to otherwise suggest endorsement or misrepresent the relationship between the parties; and any rights not expressly granted herein are reserved by the Licensors.
39
+ Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Model and the Complementary Material (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Model, Derivatives of the Model, and the Complementary Material and assume any risks associated with Your exercise of permissions under this License.
40
+ Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Model and the Complementary Material (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
41
+ Accepting Warranty or Additional Liability. While redistributing the Model, Derivatives of the Model and the Complementary Material thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
42
+ If any provision of this License is held to be invalid, illegal or unenforceable, the remaining provisions shall be unaffected thereby and remain valid as if such provision had not been set forth herein.
43
+
44
+ END OF TERMS AND CONDITIONS
45
+
46
+ Attachment A
47
+ Use Restrictions
48
+ You agree not to use the Model or Derivatives of the Model:
49
+ In any way that violates any applicable national, federal, state, local or international law or regulation;
50
+ For the purpose of exploiting, harming or attempting to exploit or harm minors in any way;
51
+ To generate or disseminate verifiably false information and/or content with the purpose of harming others;
52
+ To generate or disseminate personal identifiable information that can be used to harm an individual;
53
+ To defame, disparage or otherwise harass others;
54
+ For fully automated decision making that adversely impacts an individual’s legal rights or otherwise creates or modifies a binding, enforceable obligation;
55
+ For any use intended to or which has the effect of discriminating against or harming individuals or groups based on online or offline social behavior or known or predicted personal or personality characteristics;
56
+ To exploit any of the vulnerabilities of a specific group of persons based on their age, social, physical or mental characteristics, in order to materially distort the behavior of a person pertaining to that group in a manner that causes or is likely to cause that person or another person physical or psychological harm;
57
+ For any use intended to or which has the effect of discriminating against individuals or groups based on legally protected characteristics or categories;
58
+ To provide medical advice and medical results interpretation;
59
+ To generate or disseminate information for the purpose to be used for administration of justice, law enforcement, immigration or asylum processes, such as predicting an individual will commit fraud/crime commitment (e.g. by text profiling, drawing causal relationships between assertions made in documents, indiscriminate and arbitrarily-targeted use).
60
+
licenses/model_cards/clip_h__README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ widget:
4
+ - src: >-
5
+ https://huggingface.co/datasets/mishig/sample_images/resolve/main/cat-dog-music.png
6
+ candidate_labels: playing music, playing sports
7
+ example_title: Cat & Dog
8
+ library_name: open_clip
9
+ pipeline_tag: zero-shot-image-classification
10
+ ---
11
+ # Model Card for CLIP ViT-H/14 - LAION-2B
12
+
13
+ # Table of Contents
14
+
15
+ 1. [Model Details](#model-details)
16
+ 2. [Uses](#uses)
17
+ 3. [Training Details](#training-details)
18
+ 4. [Evaluation](#evaluation)
19
+ 5. [Acknowledgements](#acknowledgements)
20
+ 6. [Citation](#citation)
21
+ 7. [How To Get Started With the Model](#how-to-get-started-with-the-model)
22
+
23
+
24
+ # Model Details
25
+
26
+ ## Model Description
27
+
28
+ A CLIP ViT-H/14 model trained with the LAION-2B English subset of LAION-5B (https://laion.ai/blog/laion-5b/) using OpenCLIP (https://github.com/mlfoundations/open_clip).
29
+
30
+ Model training done by Romain Beaumont on the [stability.ai](https://stability.ai/) cluster.
31
+
32
+ # Uses
33
+
34
+ As per the original [OpenAI CLIP model card](https://github.com/openai/CLIP/blob/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1/model-card.md), this model is intended as a research output for research communities. We hope that this model will enable researchers to better understand and explore zero-shot, arbitrary image classification. We also hope it can be used for interdisciplinary studies of the potential impact of such model.
35
+
36
+ The OpenAI CLIP paper includes a discussion of potential downstream impacts to provide an example for this sort of analysis. Additionally, the LAION-5B blog (https://laion.ai/blog/laion-5b/) and upcoming paper include additional discussion as it relates specifically to the training dataset.
37
+
38
+ ## Direct Use
39
+
40
+ Zero-shot image classification, image and text retrieval, among others.
41
+
42
+ ## Downstream Use
43
+
44
+ Image classification and other image task fine-tuning, linear probe image classification, image generation guiding and conditioning, among others.
45
+
46
+ ## Out-of-Scope Use
47
+
48
+ As per the OpenAI models,
49
+
50
+ **Any** deployed use case of the model - whether commercial or not - is currently out of scope. Non-deployed use cases such as image search in a constrained environment, are also not recommended unless there is thorough in-domain testing of the model with a specific, fixed class taxonomy. This is because our safety assessment demonstrated a high need for task specific testing especially given the variability of CLIP’s performance with different class taxonomies. This makes untested and unconstrained deployment of the model in any use case currently potentially harmful.
51
+
52
+ Certain use cases which would fall under the domain of surveillance and facial recognition are always out-of-scope regardless of performance of the model. This is because the use of artificial intelligence for tasks such as these can be premature currently given the lack of testing norms and checks to ensure its fair use.
53
+
54
+ Since the model has not been purposefully trained in or evaluated on any languages other than English, its use should be limited to English language use cases.
55
+
56
+ Further the above notice, the LAION-5B dataset used in training of these models has additional considerations, see below.
57
+
58
+ # Training Details
59
+
60
+ ## Training Data
61
+
62
+ This model was trained with the 2 Billion sample English subset of LAION-5B (https://laion.ai/blog/laion-5b/).
63
+
64
+ **IMPORTANT NOTE:** The motivation behind dataset creation is to democratize research and experimentation around large-scale multi-modal model training and handling of uncurated, large-scale datasets crawled from publically available internet. Our recommendation is therefore to use the dataset for research purposes. Be aware that this large-scale dataset is uncurated. Keep in mind that the uncurated nature of the dataset means that collected links may lead to strongly discomforting and disturbing content for a human viewer. Therefore, please use the demo links with caution and at your own risk. It is possible to extract a “safe” subset by filtering out samples based on the safety tags (using a customized trained NSFW classifier that we built). While this strongly reduces the chance for encountering potentially harmful content when viewing, we cannot entirely exclude the possibility for harmful content being still present in safe mode, so that the warning holds also there. We think that providing the dataset openly to broad research and other interested communities will allow for transparent investigation of benefits that come along with training large-scale models as well as pitfalls and dangers that may stay unreported or unnoticed when working with closed large datasets that remain restricted to a small community. Providing our dataset openly, we however do not recommend using it for creating ready-to-go industrial products, as the basic research about general properties and safety of such large-scale models, which we would like to encourage with this release, is still in progress.
65
+
66
+ ## Training Procedure
67
+
68
+ Please see [training notes](https://docs.google.com/document/d/1EFbMLRWSSV0LUf9Du1pWzWqgeiIRPwEWX2s1C6mAk5c) and [wandb logs](https://wandb.ai/rom1504/eval_openclip/reports/H-14--VmlldzoyNDAxODQ3).
69
+
70
+ # Evaluation
71
+
72
+ Evaluation done with code in the [LAION CLIP Benchmark suite](https://github.com/LAION-AI/CLIP_benchmark).
73
+
74
+ ## Testing Data, Factors & Metrics
75
+
76
+ ### Testing Data
77
+
78
+ The testing is performed with VTAB+ (A combination of VTAB (https://arxiv.org/abs/1910.04867) w/ additional robustness datasets) for classification and COCO and Flickr for retrieval.
79
+
80
+ **TODO** - more detail
81
+
82
+ ## Results
83
+
84
+ The model achieves a 78.0 zero-shot top-1 accuracy on ImageNet-1k.
85
+
86
+ An initial round of benchmarks have been performed on a wider range of datasets, currently viewable at https://github.com/LAION-AI/CLIP_benchmark/blob/main/benchmark/results.ipynb
87
+
88
+ **TODO** - create table for just this model's metrics.
89
+
90
+ # Acknowledgements
91
+
92
+ Acknowledging [stability.ai](https://stability.ai/) for the compute used to train this model.
93
+
94
+ # Citation
95
+
96
+ **BibTeX:**
97
+
98
+ LAION-5B
99
+ ```bibtex
100
+ @inproceedings{schuhmann2022laionb,
101
+ title={{LAION}-5B: An open large-scale dataset for training next generation image-text models},
102
+ author={Christoph Schuhmann and
103
+ Romain Beaumont and
104
+ Richard Vencu and
105
+ Cade W Gordon and
106
+ Ross Wightman and
107
+ Mehdi Cherti and
108
+ Theo Coombes and
109
+ Aarush Katta and
110
+ Clayton Mullis and
111
+ Mitchell Wortsman and
112
+ Patrick Schramowski and
113
+ Srivatsa R Kundurthy and
114
+ Katherine Crowson and
115
+ Ludwig Schmidt and
116
+ Robert Kaczmarczyk and
117
+ Jenia Jitsev},
118
+ booktitle={Thirty-sixth Conference on Neural Information Processing Systems Datasets and Benchmarks Track},
119
+ year={2022},
120
+ url={https://openreview.net/forum?id=M3Y74vmsMcY}
121
+ }
122
+ ```
123
+
124
+ OpenAI CLIP paper
125
+ ```
126
+ @inproceedings{Radford2021LearningTV,
127
+ title={Learning Transferable Visual Models From Natural Language Supervision},
128
+ author={Alec Radford and Jong Wook Kim and Chris Hallacy and A. Ramesh and Gabriel Goh and Sandhini Agarwal and Girish Sastry and Amanda Askell and Pamela Mishkin and Jack Clark and Gretchen Krueger and Ilya Sutskever},
129
+ booktitle={ICML},
130
+ year={2021}
131
+ }
132
+ ```
133
+
134
+ OpenCLIP software
135
+ ```
136
+ @software{ilharco_gabriel_2021_5143773,
137
+ author = {Ilharco, Gabriel and
138
+ Wortsman, Mitchell and
139
+ Wightman, Ross and
140
+ Gordon, Cade and
141
+ Carlini, Nicholas and
142
+ Taori, Rohan and
143
+ Dave, Achal and
144
+ Shankar, Vaishaal and
145
+ Namkoong, Hongseok and
146
+ Miller, John and
147
+ Hajishirzi, Hannaneh and
148
+ Farhadi, Ali and
149
+ Schmidt, Ludwig},
150
+ title = {OpenCLIP},
151
+ month = jul,
152
+ year = 2021,
153
+ note = {If you use this software, please cite it as below.},
154
+ publisher = {Zenodo},
155
+ version = {0.1},
156
+ doi = {10.5281/zenodo.5143773},
157
+ url = {https://doi.org/10.5281/zenodo.5143773}
158
+ }
159
+ ```
160
+
161
+ # How to Get Started with the Model
162
+
163
+ Use the code below to get started with the model.
164
+
165
+ ** TODO ** - Hugging Face transformers, OpenCLIP, and timm getting started snippets
licenses/model_cards/controlnet__README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
4
+ tags:
5
+ - stable-diffusion-xl
6
+ - stable-diffusion-xl-diffusers
7
+ - text-to-image
8
+ - diffusers
9
+ - controlnet
10
+ inference: false
11
+ ---
12
+
13
+ # SDXL-controlnet: OpenPose (v2)
14
+
15
+ These are controlnet weights trained on stabilityai/stable-diffusion-xl-base-1.0 with OpenPose (v2) conditioning. You can find some example images in the following.
16
+
17
+ prompt: a ballerina, romantic sunset, 4k photo
18
+ ![images_0)](./screenshot_ballerina.png)
19
+
20
+
21
+ ### Comfy Workflow
22
+ ![images_0)](./out_ballerina.png)
23
+
24
+
25
+ (Image is from ComfyUI, you can drag and drop in Comfy to use it as workflow)
26
+
27
+ License: refers to the OpenPose's one.
28
+
29
+ ### Using in 🧨 diffusers
30
+
31
+ First, install all the libraries:
32
+
33
+ ```bash
34
+ pip install -q controlnet_aux transformers accelerate
35
+ pip install -q git+https://github.com/huggingface/diffusers
36
+ ```
37
+
38
+ Now, we're ready to make Darth Vader dance:
39
+
40
+ ```python
41
+ from diffusers import AutoencoderKL, StableDiffusionXLControlNetPipeline, ControlNetModel, UniPCMultistepScheduler
42
+ import torch
43
+ from controlnet_aux import OpenposeDetector
44
+ from diffusers.utils import load_image
45
+
46
+
47
+ # Compute openpose conditioning image.
48
+ openpose = OpenposeDetector.from_pretrained("lllyasviel/ControlNet")
49
+
50
+ image = load_image(
51
+ "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/person.png"
52
+ )
53
+ openpose_image = openpose(image)
54
+
55
+ # Initialize ControlNet pipeline.
56
+ controlnet = ControlNetModel.from_pretrained("thibaud/controlnet-openpose-sdxl-1.0", torch_dtype=torch.float16)
57
+ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
58
+ "stabilityai/stable-diffusion-xl-base-1.0", controlnet=controlnet, torch_dtype=torch.float16
59
+ )
60
+ pipe.enable_model_cpu_offload()
61
+
62
+
63
+ # Infer.
64
+ prompt = "Darth vader dancing in a desert, high quality"
65
+ negative_prompt = "low quality, bad quality"
66
+ images = pipe(
67
+ prompt,
68
+ negative_prompt=negative_prompt,
69
+ num_inference_steps=25,
70
+ num_images_per_prompt=4,
71
+ image=openpose_image.resize((1024, 1024)),
72
+ generator=torch.manual_seed(97),
73
+ ).images
74
+ images[0]
75
+ ```
76
+
77
+ Here are some gemerated examples:
78
+
79
+ ![](./darth_vader_grid.png)
80
+
81
+
82
+ ### Training
83
+
84
+ Use of the training script by HF🤗 [here](https://github.com/huggingface/diffusers/blob/main/examples/controlnet/README_sdxl.md).
85
+
86
+ #### Training data
87
+ This checkpoint was first trained for 15,000 steps on laion 6a resized to a max minimum dimension of 768.
88
+
89
+ #### Compute
90
+ one 1xA100 machine (Thanks a lot HF🤗 to provide the compute!)
91
+
92
+ #### Batch size
93
+ Data parallel with a single gpu batch size of 2 with gradient accumulation 8.
94
+
95
+ #### Hyper Parameters
96
+ Constant learning rate of 8e-5
97
+
98
+ #### Mixed precision
99
+ fp16
licenses/model_cards/ip_adapter__README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - stable-diffusion
5
+ license: apache-2.0
6
+ language:
7
+ - en
8
+ library_name: diffusers
9
+ ---
10
+
11
+ # IP-Adapter Model Card
12
+
13
+
14
+ <div align="center">
15
+
16
+ [**Project Page**](https://ip-adapter.github.io) **|** [**Paper (ArXiv)**](https://arxiv.org/abs/2308.06721) **|** [**Code**](https://github.com/tencent-ailab/IP-Adapter)
17
+ </div>
18
+
19
+ ---
20
+
21
+
22
+ ## Introduction
23
+
24
+ we present IP-Adapter, an effective and lightweight adapter to achieve image prompt capability for the pre-trained text-to-image diffusion models. An IP-Adapter with only 22M parameters can achieve comparable or even better performance to a fine-tuned image prompt model. IP-Adapter can be generalized not only to other custom models fine-tuned from the same base model, but also to controllable generation using existing controllable tools. Moreover, the image prompt can also work well with the text prompt to accomplish multimodal image generation.
25
+
26
+ ![arch](./fig1.png)
27
+
28
+ ## Models
29
+
30
+ ### Image Encoder
31
+ - [models/image_encoder](https://huggingface.co/h94/IP-Adapter/tree/main/models/image_encoder): [OpenCLIP-ViT-H-14](https://huggingface.co/laion/CLIP-ViT-H-14-laion2B-s32B-b79K) with 632.08M parameter
32
+ - [sdxl_models/image_encoder](https://huggingface.co/h94/IP-Adapter/tree/main/sdxl_models/image_encoder): [OpenCLIP-ViT-bigG-14](https://huggingface.co/laion/CLIP-ViT-bigG-14-laion2B-39B-b160k) with 1844.9M parameter
33
+
34
+ More information can be found [here](https://laion.ai/blog/giant-openclip/)
35
+
36
+ ### IP-Adapter for SD 1.5
37
+ - [ip-adapter_sd15.bin](https://huggingface.co/h94/IP-Adapter/blob/main/models/ip-adapter_sd15.bin): use global image embedding from OpenCLIP-ViT-H-14 as condition
38
+ - [ip-adapter_sd15_light.bin](https://huggingface.co/h94/IP-Adapter/blob/main/models/ip-adapter_sd15_light.bin): same as ip-adapter_sd15, but more compatible with text prompt
39
+ - [ip-adapter-plus_sd15.bin](https://huggingface.co/h94/IP-Adapter/blob/main/models/ip-adapter-plus_sd15.bin): use patch image embeddings from OpenCLIP-ViT-H-14 as condition, closer to the reference image than ip-adapter_sd15
40
+ - [ip-adapter-plus-face_sd15.bin](https://huggingface.co/h94/IP-Adapter/blob/main/models/ip-adapter-plus-face_sd15.bin): same as ip-adapter-plus_sd15, but use cropped face image as condition
41
+
42
+ ### IP-Adapter for SDXL 1.0
43
+ - [ip-adapter_sdxl.bin](https://huggingface.co/h94/IP-Adapter/blob/main/sdxl_models/ip-adapter_sdxl.bin): use global image embedding from OpenCLIP-ViT-bigG-14 as condition
44
+ - [ip-adapter_sdxl_vit-h.bin](https://huggingface.co/h94/IP-Adapter/blob/main/sdxl_models/ip-adapter_sdxl_vit-h.bin): same as ip-adapter_sdxl, but use OpenCLIP-ViT-H-14
45
+ - [ip-adapter-plus_sdxl_vit-h.bin](https://huggingface.co/h94/IP-Adapter/blob/main/sdxl_models/ip-adapter-plus_sdxl_vit-h.bin): use patch image embeddings from OpenCLIP-ViT-H-14 as condition, closer to the reference image than ip-adapter_xl and ip-adapter_sdxl_vit-h
46
+ - [ip-adapter-plus-face_sdxl_vit-h.bin](https://huggingface.co/h94/IP-Adapter/blob/main/sdxl_models/ip-adapter-plus-face_sdxl_vit-h.bin): same as ip-adapter-plus_sdxl_vit-h, but use cropped face image as condition
licenses/model_cards/layerdiffuse_attention__README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pipeline_tag: text-to-image
4
+ library_name: diffusers
5
+ ---
6
+ # Diffusers API of Transparent Image Layer Diffusion using Latent Transparency
7
+ Create transparent image with Diffusers!
8
+ ![corgi](result_sdxl.png)
9
+ Please check the Github repo here: https://github.com/rootonchair/diffuser_layerdiffuse
10
+
11
+ This is a port to Diffuser from original [SD Webui's Layer Diffusion](https://github.com/layerdiffusion/sd-forge-layerdiffuse) to extend the ability to generate transparent image with your favorite API
12
+
13
+
14
+ Paper: [Transparent Image Layer Diffusion using Latent Transparency](https://arxiv.org/abs/2402.17113)
15
+
16
+ ## What's new
17
+
18
+ - Added Diffusers-ready SDXL LayerDiffuse conditional weights for foreground-to-blending, background-to-blending, foreground-and-blend-to-background, and background-and-blend-to-foreground workflows.
19
+ - New remote weights: `diffuser_layer_xl_fg2ble.safetensors`, `diffuser_layer_xl_bg2ble.safetensors`, `diffuser_layer_xl_fgble2bg.safetensors`, and `diffuser_layer_xl_bgble2fg.safetensors`.
20
+ - The GitHub examples load these weights from this Hugging Face repo through the local HF cache by default.
21
+ - SDXL Forge weight conversion is now consolidated in `scripts/convert_xl_layerdiffuse.py` with `--mode fg2ble|bg2ble|fgble2bg|bgble2fg`.
22
+ - Demo scripts now expose CLI options for model, prompt, seed, output path, `--variant`, and `--cpu-offload`; run any script with `--help` for details.
23
+
24
+ ## Quickstart
25
+
26
+ Generate transparent image with SD1.5 models. In this example, we will use [digiplay/Juggernaut_final](https://huggingface.co/digiplay/Juggernaut_final) as the base model
27
+
28
+ ```python
29
+ from huggingface_hub import hf_hub_download
30
+ from safetensors.torch import load_file
31
+ import torch
32
+
33
+ from diffusers import StableDiffusionPipeline
34
+
35
+ from models import TransparentVAEDecoder
36
+ from loaders import load_lora_to_unet
37
+
38
+
39
+
40
+ if __name__ == "__main__":
41
+
42
+ model_path = hf_hub_download(
43
+ 'LayerDiffusion/layerdiffusion-v1',
44
+ 'layer_sd15_vae_transparent_decoder.safetensors',
45
+ )
46
+
47
+ vae_transparent_decoder = TransparentVAEDecoder.from_pretrained("digiplay/Juggernaut_final", subfolder="vae", torch_dtype=torch.float16).to("cuda")
48
+ vae_transparent_decoder.set_transparent_decoder(load_file(model_path))
49
+
50
+ pipeline = StableDiffusionPipeline.from_pretrained("digiplay/Juggernaut_final", vae=vae_transparent_decoder, torch_dtype=torch.float16, safety_checker=None).to("cuda")
51
+
52
+ model_path = hf_hub_download(
53
+ 'LayerDiffusion/layerdiffusion-v1',
54
+ 'layer_sd15_transparent_attn.safetensors'
55
+ )
56
+
57
+ load_lora_to_unet(pipeline.unet, model_path, frames=1)
58
+
59
+ image = pipeline(prompt="a dog sitting in room, high quality",
60
+ width=512, height=512,
61
+ num_images_per_prompt=1, return_dict=False)[0]
62
+ ```
licenses/model_cards/layerdiffuse_decoder__README.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ ---
4
+
5
+ model card under construction
licenses/model_cards/sdxl__README.md ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: openrail++
3
+ tags:
4
+ - text-to-image
5
+ - stable-diffusion
6
+ ---
7
+ # SD-XL 1.0-base Model Card
8
+ ![row01](01.png)
9
+
10
+ ## Model
11
+
12
+ ![pipeline](pipeline.png)
13
+
14
+ [SDXL](https://arxiv.org/abs/2307.01952) consists of an [ensemble of experts](https://arxiv.org/abs/2211.01324) pipeline for latent diffusion:
15
+ In a first step, the base model is used to generate (noisy) latents,
16
+ which are then further processed with a refinement model (available here: https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/) specialized for the final denoising steps.
17
+ Note that the base model can be used as a standalone module.
18
+
19
+ Alternatively, we can use a two-stage pipeline as follows:
20
+ First, the base model is used to generate latents of the desired output size.
21
+ In the second step, we use a specialized high-resolution model and apply a technique called SDEdit (https://arxiv.org/abs/2108.01073, also known as "img2img")
22
+ to the latents generated in the first step, using the same prompt. This technique is slightly slower than the first one, as it requires more function evaluations.
23
+
24
+ Source code is available at https://github.com/Stability-AI/generative-models .
25
+
26
+ ### Model Description
27
+
28
+ - **Developed by:** Stability AI
29
+ - **Model type:** Diffusion-based text-to-image generative model
30
+ - **License:** [CreativeML Open RAIL++-M License](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md)
31
+ - **Model Description:** This is a model that can be used to generate and modify images based on text prompts. It is a [Latent Diffusion Model](https://arxiv.org/abs/2112.10752) that uses two fixed, pretrained text encoders ([OpenCLIP-ViT/G](https://github.com/mlfoundations/open_clip) and [CLIP-ViT/L](https://github.com/openai/CLIP/tree/main)).
32
+ - **Resources for more information:** Check out our [GitHub Repository](https://github.com/Stability-AI/generative-models) and the [SDXL report on arXiv](https://arxiv.org/abs/2307.01952).
33
+
34
+ ### Model Sources
35
+
36
+ For research purposes, we recommend our `generative-models` Github repository (https://github.com/Stability-AI/generative-models), which implements the most popular diffusion frameworks (both training and inference) and for which new functionalities like distillation will be added over time.
37
+ [Clipdrop](https://clipdrop.co/stable-diffusion) provides free SDXL inference.
38
+
39
+ - **Repository:** https://github.com/Stability-AI/generative-models
40
+ - **Demo:** https://clipdrop.co/stable-diffusion
41
+
42
+
43
+ ## Evaluation
44
+ ![comparison](comparison.png)
45
+ The chart above evaluates user preference for SDXL (with and without refinement) over SDXL 0.9 and Stable Diffusion 1.5 and 2.1.
46
+ The SDXL base model performs significantly better than the previous variants, and the model combined with the refinement module achieves the best overall performance.
47
+
48
+
49
+ ### 🧨 Diffusers
50
+
51
+ Make sure to upgrade diffusers to >= 0.19.0:
52
+ ```
53
+ pip install diffusers --upgrade
54
+ ```
55
+
56
+ In addition make sure to install `transformers`, `safetensors`, `accelerate` as well as the invisible watermark:
57
+ ```
58
+ pip install invisible_watermark transformers accelerate safetensors
59
+ ```
60
+
61
+ To just use the base model, you can run:
62
+
63
+ ```py
64
+ from diffusers import DiffusionPipeline
65
+ import torch
66
+
67
+ pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
68
+ pipe.to("cuda")
69
+
70
+ # if using torch < 2.0
71
+ # pipe.enable_xformers_memory_efficient_attention()
72
+
73
+ prompt = "An astronaut riding a green horse"
74
+
75
+ images = pipe(prompt=prompt).images[0]
76
+ ```
77
+
78
+ To use the whole base + refiner pipeline as an ensemble of experts you can run:
79
+
80
+ ```py
81
+ from diffusers import DiffusionPipeline
82
+ import torch
83
+
84
+ # load both base & refiner
85
+ base = DiffusionPipeline.from_pretrained(
86
+ "stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, variant="fp16", use_safetensors=True
87
+ )
88
+ base.to("cuda")
89
+ refiner = DiffusionPipeline.from_pretrained(
90
+ "stabilityai/stable-diffusion-xl-refiner-1.0",
91
+ text_encoder_2=base.text_encoder_2,
92
+ vae=base.vae,
93
+ torch_dtype=torch.float16,
94
+ use_safetensors=True,
95
+ variant="fp16",
96
+ )
97
+ refiner.to("cuda")
98
+
99
+ # Define how many steps and what % of steps to be run on each experts (80/20) here
100
+ n_steps = 40
101
+ high_noise_frac = 0.8
102
+
103
+ prompt = "A majestic lion jumping from a big stone at night"
104
+
105
+ # run both experts
106
+ image = base(
107
+ prompt=prompt,
108
+ num_inference_steps=n_steps,
109
+ denoising_end=high_noise_frac,
110
+ output_type="latent",
111
+ ).images
112
+ image = refiner(
113
+ prompt=prompt,
114
+ num_inference_steps=n_steps,
115
+ denoising_start=high_noise_frac,
116
+ image=image,
117
+ ).images[0]
118
+ ```
119
+
120
+ When using `torch >= 2.0`, you can improve the inference speed by 20-30% with torch.compile. Simple wrap the unet with torch compile before running the pipeline:
121
+ ```py
122
+ pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
123
+ ```
124
+
125
+ If you are limited by GPU VRAM, you can enable *cpu offloading* by calling `pipe.enable_model_cpu_offload`
126
+ instead of `.to("cuda")`:
127
+
128
+ ```diff
129
+ - pipe.to("cuda")
130
+ + pipe.enable_model_cpu_offload()
131
+ ```
132
+
133
+ For more information on how to use Stable Diffusion XL with `diffusers`, please have a look at [the Stable Diffusion XL Docs](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/stable_diffusion_xl).
134
+
135
+ ### Optimum
136
+ [Optimum](https://github.com/huggingface/optimum) provides a Stable Diffusion pipeline compatible with both [OpenVINO](https://docs.openvino.ai/latest/index.html) and [ONNX Runtime](https://onnxruntime.ai/).
137
+
138
+ #### OpenVINO
139
+
140
+ To install Optimum with the dependencies required for OpenVINO :
141
+
142
+ ```bash
143
+ pip install optimum[openvino]
144
+ ```
145
+
146
+ To load an OpenVINO model and run inference with OpenVINO Runtime, you need to replace `StableDiffusionXLPipeline` with Optimum `OVStableDiffusionXLPipeline`. In case you want to load a PyTorch model and convert it to the OpenVINO format on-the-fly, you can set `export=True`.
147
+
148
+ ```diff
149
+ - from diffusers import StableDiffusionXLPipeline
150
+ + from optimum.intel import OVStableDiffusionXLPipeline
151
+
152
+ model_id = "stabilityai/stable-diffusion-xl-base-1.0"
153
+ - pipeline = StableDiffusionXLPipeline.from_pretrained(model_id)
154
+ + pipeline = OVStableDiffusionXLPipeline.from_pretrained(model_id)
155
+ prompt = "A majestic lion jumping from a big stone at night"
156
+ image = pipeline(prompt).images[0]
157
+ ```
158
+
159
+ You can find more examples (such as static reshaping and model compilation) in optimum [documentation](https://huggingface.co/docs/optimum/main/en/intel/inference#stable-diffusion-xl).
160
+
161
+
162
+ #### ONNX
163
+
164
+ To install Optimum with the dependencies required for ONNX Runtime inference :
165
+
166
+ ```bash
167
+ pip install optimum[onnxruntime]
168
+ ```
169
+
170
+ To load an ONNX model and run inference with ONNX Runtime, you need to replace `StableDiffusionXLPipeline` with Optimum `ORTStableDiffusionXLPipeline`. In case you want to load a PyTorch model and convert it to the ONNX format on-the-fly, you can set `export=True`.
171
+
172
+ ```diff
173
+ - from diffusers import StableDiffusionXLPipeline
174
+ + from optimum.onnxruntime import ORTStableDiffusionXLPipeline
175
+
176
+ model_id = "stabilityai/stable-diffusion-xl-base-1.0"
177
+ - pipeline = StableDiffusionXLPipeline.from_pretrained(model_id)
178
+ + pipeline = ORTStableDiffusionXLPipeline.from_pretrained(model_id)
179
+ prompt = "A majestic lion jumping from a big stone at night"
180
+ image = pipeline(prompt).images[0]
181
+ ```
182
+
183
+ You can find more examples in optimum [documentation](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models#stable-diffusion-xl).
184
+
185
+
186
+ ## Uses
187
+
188
+ ### Direct Use
189
+
190
+ The model is intended for research purposes only. Possible research areas and tasks include
191
+
192
+ - Generation of artworks and use in design and other artistic processes.
193
+ - Applications in educational or creative tools.
194
+ - Research on generative models.
195
+ - Safe deployment of models which have the potential to generate harmful content.
196
+ - Probing and understanding the limitations and biases of generative models.
197
+
198
+ Excluded uses are described below.
199
+
200
+ ### Out-of-Scope Use
201
+
202
+ The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.
203
+
204
+ ## Limitations and Bias
205
+
206
+ ### Limitations
207
+
208
+ - The model does not achieve perfect photorealism
209
+ - The model cannot render legible text
210
+ - The model struggles with more difficult tasks which involve compositionality, such as rendering an image corresponding to “A red cube on top of a blue sphere”
211
+ - Faces and people in general may not be generated properly.
212
+ - The autoencoding part of the model is lossy.
213
+
214
+ ### Bias
215
+ While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.
licenses/model_cards/vae__README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - stable-diffusion
5
+ - stable-diffusion-diffusers
6
+ inference: false
7
+ ---
8
+ # SDXL-VAE-FP16-Fix
9
+
10
+ SDXL-VAE-FP16-Fix is the [SDXL VAE](https://huggingface.co/stabilityai/sdxl-vae)*, but modified to run in fp16 precision without generating NaNs.
11
+
12
+ | VAE | Decoding in `float32` / `bfloat16` precision | Decoding in `float16` precision |
13
+ | --------------------- | -------------------------------------------- | ------------------------------- |
14
+ | SDXL-VAE | ✅ ![](./images/orig-fp32.png) | ⚠️ ![](./images/orig-fp16.png) |
15
+ | SDXL-VAE-FP16-Fix | ✅ ![](./images/fix-fp32.png) | ✅ ![](./images/fix-fp16.png) |
16
+
17
+ ## 🧨 Diffusers Usage
18
+
19
+ Just load this checkpoint via `AutoencoderKL`:
20
+
21
+ ```py
22
+ import torch
23
+ from diffusers import DiffusionPipeline, AutoencoderKL
24
+
25
+ vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
26
+ pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", vae=vae, torch_dtype=torch.float16, variant="fp16", use_safetensors=True)
27
+ pipe.to("cuda")
28
+
29
+ refiner = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-refiner-1.0", vae=vae, torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
30
+ refiner.to("cuda")
31
+
32
+ n_steps = 40
33
+ high_noise_frac = 0.7
34
+
35
+ prompt = "A majestic lion jumping from a big stone at night"
36
+
37
+ image = pipe(prompt=prompt, num_inference_steps=n_steps, denoising_end=high_noise_frac, output_type="latent").images
38
+ image = refiner(prompt=prompt, num_inference_steps=n_steps, denoising_start=high_noise_frac, image=image).images[0]
39
+ image
40
+ ```
41
+
42
+ ![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/lion_refined.png)
43
+
44
+ ## Automatic1111 Usage
45
+
46
+ 1. Download the fixed [sdxl.vae.safetensors](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/sdxl.vae.safetensors?download=true) file
47
+ 2. Move this `sdxl.vae.safetensors` file into the webui folder under `stable-diffusion-webui/models/VAE`
48
+ 3. In your webui settings, select the fixed VAE you just added
49
+ 4. If you were using the `--no-half-vae` command line arg for SDXL (in `webui-user.bat` or wherever), you can now remove it
50
+
51
+ (Disclaimer - I haven't tested this, just aggregating various instructions I've seen elsewhere :P PRs to improve these instructions are welcomed!)
52
+
53
+ ## Details
54
+
55
+ SDXL-VAE generates NaNs in fp16 because the internal activation values are too big:
56
+ ![](./images/activation-magnitudes.jpg)
57
+
58
+ SDXL-VAE-FP16-Fix was created by finetuning the SDXL-VAE to:
59
+ 1. keep the final output the same, but
60
+ 2. make the internal activation values smaller, by
61
+ 3. scaling down weights and biases within the network
62
+
63
+ There are slight discrepancies between the output of SDXL-VAE-FP16-Fix and SDXL-VAE, but the decoded images should be [close enough for most purposes](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/discussions/7#64c5c0f8e2e5c94bd04eaa80).
64
+
65
+ ---
66
+
67
+ \* `sdxl-vae-fp16-fix` is specifically based on [SDXL-VAE (0.9)](https://huggingface.co/stabilityai/sdxl-vae/discussions/6#64acea3f7ac35b7de0554490), but it works with SDXL 1.0 too
manifest.json ADDED
@@ -0,0 +1,632 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format_version": 1,
3
+ "status": "complete",
4
+ "default_renderer": "qwen21",
5
+ "bytes_total": 51319092596,
6
+ "public_upload_excludes": [
7
+ "assets/body_models/smplx/**",
8
+ "pose_diffusion/controlnet/**"
9
+ ],
10
+ "restricted_resources": [
11
+ {
12
+ "path": "assets/body_models/smplx/SMPLX_NEUTRAL.npz",
13
+ "size": 108752058,
14
+ "sha256": "376021446ddc86e99acacd795182bbef903e61d33b76b9d8b359c2b0865bd992",
15
+ "group": "smplx_restricted",
16
+ "public_upload": false
17
+ },
18
+ {
19
+ "path": "pose_diffusion/controlnet/config.json",
20
+ "size": 1235,
21
+ "sha256": "b5b8f9a7619c9452f19407ef73a01ce3f061fcf932de43ddbaca336d12d02801",
22
+ "group": "openpose_controlnet_restricted",
23
+ "public_upload": false
24
+ },
25
+ {
26
+ "path": "pose_diffusion/controlnet/diffusion_pytorch_model.safetensors",
27
+ "size": 5004167829,
28
+ "sha256": "5a4b928cb1e93748217900cb66d4135bf70d932d2924232f925910fad9e43a92",
29
+ "group": "openpose_controlnet_restricted",
30
+ "public_upload": false
31
+ }
32
+ ],
33
+ "verification": "SHA256 streamed over every source byte while independently copying and fsyncing; large destination files are not reread a second time.",
34
+ "files": [
35
+ {
36
+ "path": "README.md",
37
+ "size": 5184,
38
+ "sha256": "8ee4dc5613cfb485245614dfb54de3423d33cb7626a55a1decc11884767a4f1b",
39
+ "group": "attribution",
40
+ "public_upload": true
41
+ },
42
+ {
43
+ "path": "THIRD_PARTY_NOTICES.md",
44
+ "size": 4144,
45
+ "sha256": "f38cdddf6b21ccc0cac687b4a2c64654c949671495cf4c4905efa9f0735736ae",
46
+ "group": "attribution",
47
+ "public_upload": true
48
+ },
49
+ {
50
+ "path": "assets/body_models/smplx/SMPLX_NEUTRAL.npz",
51
+ "size": 108752058,
52
+ "sha256": "376021446ddc86e99acacd795182bbef903e61d33b76b9d8b359c2b0865bd992",
53
+ "group": "smplx_restricted",
54
+ "public_upload": false
55
+ },
56
+ {
57
+ "path": "assets/camera/camera_centers.npz",
58
+ "size": 3796,
59
+ "sha256": "9f08c905c7461f86efeead881d4ba35d3d3bc7f7d8e9c4301894290efeaceb20",
60
+ "group": "core",
61
+ "public_upload": true
62
+ },
63
+ {
64
+ "path": "assets/fonts/DejaVuSans.ttf",
65
+ "size": 757076,
66
+ "sha256": "437a5ecec2ec177cba9284cbffc56055311347f3e9fe4f2b4b40323d0290a6db",
67
+ "group": "core",
68
+ "public_upload": true
69
+ },
70
+ {
71
+ "path": "assets/fonts/LICENSE-DejaVu.txt",
72
+ "size": 2719,
73
+ "sha256": "1df59b3c0ea60034ac57bdb7dd1bdaa51edad4eefd78e891a74739d32bfbfba7",
74
+ "group": "attribution",
75
+ "public_upload": true
76
+ },
77
+ {
78
+ "path": "flexdm/design_encoder.pt",
79
+ "size": 9859050,
80
+ "sha256": "b75c3dab8a1f5e4f9dd7b6fb8c43f82a4ec11143545329e9937e291a58fc5e01",
81
+ "group": "core",
82
+ "public_upload": true
83
+ },
84
+ {
85
+ "path": "flexdm/metadata.json",
86
+ "size": 7107,
87
+ "sha256": "4bb38d9c34ff43b3418f644c18a7727dd615b0518d09c0891577c09b9d648759",
88
+ "group": "core",
89
+ "public_upload": true
90
+ },
91
+ {
92
+ "path": "humanaware/final.pt",
93
+ "size": 137593522,
94
+ "sha256": "64082b9a9a7273977679d6456c9f08ffefbe5a19bdeffef513c10566286e207c",
95
+ "group": "core",
96
+ "public_upload": true
97
+ },
98
+ {
99
+ "path": "licenses/CreativeML_Open_RAIL_M_reference_LICENSE.txt",
100
+ "size": 14385,
101
+ "sha256": "be351ebe7ac01bcdbb018639aadcfd38f136b7dc3f2a3d4d3a24db51d1b210ef",
102
+ "group": "attribution",
103
+ "public_upload": true
104
+ },
105
+ {
106
+ "path": "licenses/FlexDM_Apache_2.0_LICENSE.txt",
107
+ "size": 11340,
108
+ "sha256": "58264dfa6354a97ed41de2a64de739aa6af14ef233aeebc9115f53a43b9334fb",
109
+ "group": "attribution",
110
+ "public_upload": true
111
+ },
112
+ {
113
+ "path": "licenses/IP_Adapter_Apache_2.0_LICENSE.txt",
114
+ "size": 11357,
115
+ "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
116
+ "group": "attribution",
117
+ "public_upload": true
118
+ },
119
+ {
120
+ "path": "licenses/LayerDiffuse_conversion_MIT_LICENSE.txt",
121
+ "size": 1070,
122
+ "sha256": "7f1094b4293aa01c739838c15fe9d661813aeebc4fe006b4293972a7cc54de6b",
123
+ "group": "attribution",
124
+ "public_upload": true
125
+ },
126
+ {
127
+ "path": "licenses/LayerDiffusion_original_code_Apache_2.0_LICENSE.txt",
128
+ "size": 11357,
129
+ "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
130
+ "group": "attribution",
131
+ "public_upload": true
132
+ },
133
+ {
134
+ "path": "licenses/MIT_template_SPDX_reference.txt",
135
+ "size": 1078,
136
+ "sha256": "b05785f9f18e6716bab63424b11454513b9943a222595b70411009202fc592b5",
137
+ "group": "attribution",
138
+ "public_upload": true
139
+ },
140
+ {
141
+ "path": "licenses/OpenCLIP_MIT_LICENSE.txt",
142
+ "size": 1229,
143
+ "sha256": "4a5b4f13ea4792a8211a69f32d2b460b6d520e57cd23c6301e707c76a6e97a55",
144
+ "group": "attribution",
145
+ "public_upload": true
146
+ },
147
+ {
148
+ "path": "licenses/OpenPose_RESTRICTED_reference_LICENSE.txt",
149
+ "size": 9686,
150
+ "sha256": "be0b0fc17147b2c5f85fdfde41ea8cd08dacef8ea846082a3f727672104718a6",
151
+ "group": "attribution",
152
+ "public_upload": true
153
+ },
154
+ {
155
+ "path": "licenses/PyTorch3D_BSD_LICENSE.txt",
156
+ "size": 1534,
157
+ "sha256": "6da05663049417a91409fa349bfad5778ed56c9ef68226dde28dffd541481579",
158
+ "group": "attribution",
159
+ "public_upload": true
160
+ },
161
+ {
162
+ "path": "licenses/SDXL_CreativeML_Open_RAIL_pp_M_LICENSE.md",
163
+ "size": 14109,
164
+ "sha256": "19b6998b569b53ac1fc2158a8a3202c8699a9a4605b47075715d9c96be7fb6d0",
165
+ "group": "attribution",
166
+ "public_upload": true
167
+ },
168
+ {
169
+ "path": "licenses/model_cards/clip_h__README.md",
170
+ "size": 8209,
171
+ "sha256": "14db420f00ddf78a07194dc4cdc57977d979e0f2c34994137679046defdf6577",
172
+ "group": "attribution",
173
+ "public_upload": true
174
+ },
175
+ {
176
+ "path": "licenses/model_cards/controlnet__README.md",
177
+ "size": 2666,
178
+ "sha256": "09d8f79fba241dba87d5983f48cb5635367e3b057e68aaed99ffbd9b064fee80",
179
+ "group": "attribution",
180
+ "public_upload": true
181
+ },
182
+ {
183
+ "path": "licenses/model_cards/ip_adapter__README.md",
184
+ "size": 3091,
185
+ "sha256": "ba3a50dc2093d0eb075890e9af7409382874669d83939e64323246d0c4403cf8",
186
+ "group": "attribution",
187
+ "public_upload": true
188
+ },
189
+ {
190
+ "path": "licenses/model_cards/layerdiffuse_attention__README.md",
191
+ "size": 2802,
192
+ "sha256": "c106ddf21b8ca1f0d7b6902c7fd1960b2513c4b0bfef8ddd8cd0fe475fea9d88",
193
+ "group": "attribution",
194
+ "public_upload": true
195
+ },
196
+ {
197
+ "path": "licenses/model_cards/layerdiffuse_decoder__README.md",
198
+ "size": 70,
199
+ "sha256": "0317746748035546dce1d8fd756a9142ca3b5ce7bad53c4f9681ae33cc9ec588",
200
+ "group": "attribution",
201
+ "public_upload": true
202
+ },
203
+ {
204
+ "path": "licenses/model_cards/sdxl__README.md",
205
+ "size": 8668,
206
+ "sha256": "40d263065b8a3e9a41996c257e11463fd97ae956ebf4e3f8b9625e0d78183893",
207
+ "group": "attribution",
208
+ "public_upload": true
209
+ },
210
+ {
211
+ "path": "licenses/model_cards/vae__README.md",
212
+ "size": 3143,
213
+ "sha256": "76045882b4ee98c62244b56225d7e709f0e29ba89471700732bf20d8a682ec50",
214
+ "group": "attribution",
215
+ "public_upload": true
216
+ },
217
+ {
218
+ "path": "model_sources.json",
219
+ "size": 20897,
220
+ "sha256": "a44dd84ddd54d4b2f75c60862f24d285962f0ed8d03f13c0292b08ab4afd5604",
221
+ "group": "attribution",
222
+ "public_upload": true
223
+ },
224
+ {
225
+ "path": "pose/52joints_tokenization.pth",
226
+ "size": 52630720,
227
+ "sha256": "0893481b5b6941f965c125dd10626fb91d28a51e04b3f3c3f330bb9e19a6d92d",
228
+ "group": "core",
229
+ "public_upload": true
230
+ },
231
+ {
232
+ "path": "pose_diffusion/controlnet/config.json",
233
+ "size": 1235,
234
+ "sha256": "b5b8f9a7619c9452f19407ef73a01ce3f061fcf932de43ddbaca336d12d02801",
235
+ "group": "openpose_controlnet_restricted",
236
+ "public_upload": false
237
+ },
238
+ {
239
+ "path": "pose_diffusion/controlnet/diffusion_pytorch_model.safetensors",
240
+ "size": 5004167829,
241
+ "sha256": "5a4b928cb1e93748217900cb66d4135bf70d932d2924232f925910fad9e43a92",
242
+ "group": "openpose_controlnet_restricted",
243
+ "public_upload": false
244
+ },
245
+ {
246
+ "path": "pose_diffusion/ip_adapter/image_encoder_h2/config.json",
247
+ "size": 4725,
248
+ "sha256": "50150597fccadc90f3198d1c2caf2c41d88a40908c38fb428ea56c249b501d85",
249
+ "group": "sdxl_optional",
250
+ "public_upload": true
251
+ },
252
+ {
253
+ "path": "pose_diffusion/ip_adapter/image_encoder_h2/model.safetensors",
254
+ "size": 3944552236,
255
+ "sha256": "036e6e2bd49697511f4f8b8cb5ee465f93025f7a69a145eadeb9a881ace9b18d",
256
+ "group": "sdxl_optional",
257
+ "public_upload": true
258
+ },
259
+ {
260
+ "path": "pose_diffusion/ip_adapter/ip-adapter_sdxl_vit-h.safetensors",
261
+ "size": 698391064,
262
+ "sha256": "ebf05d918348aec7abb02a5e9ecef77e0aaea6914a5c4ea13f50d45eb1681831",
263
+ "group": "sdxl_optional",
264
+ "public_upload": true
265
+ },
266
+ {
267
+ "path": "pose_diffusion/layerdiffuse/diffuser_layer_xl_transparent_attn.safetensors",
268
+ "size": 743345968,
269
+ "sha256": "2626f9aa142f260c12336af754e6003661fbd75c467ecb3906f94783cc2b1b42",
270
+ "group": "sdxl_optional",
271
+ "public_upload": true
272
+ },
273
+ {
274
+ "path": "pose_diffusion/layerdiffuse/vae_transparent_decoder.safetensors",
275
+ "size": 208266320,
276
+ "sha256": "59dc8feefe40d26b6cb7186aed7af70c60d94ac4f9db8ebe7f121a01ba27a2fc",
277
+ "group": "sdxl_optional",
278
+ "public_upload": true
279
+ },
280
+ {
281
+ "path": "pose_diffusion/sdxl/model_index.json",
282
+ "size": 609,
283
+ "sha256": "6d7b93508390ab91ac5bfbe4aeb4dc2d83f7bb1b05fb069d714b5b0c75f70d44",
284
+ "group": "sdxl_optional",
285
+ "public_upload": true
286
+ },
287
+ {
288
+ "path": "pose_diffusion/sdxl/scheduler/scheduler_config.json",
289
+ "size": 479,
290
+ "sha256": "af3e45a949aff8b8341ab8b811429ec03fee857a700a1d9477363e4fff9666e2",
291
+ "group": "sdxl_optional",
292
+ "public_upload": true
293
+ },
294
+ {
295
+ "path": "pose_diffusion/sdxl/text_encoder/config.json",
296
+ "size": 565,
297
+ "sha256": "39b8b2e4b1949e36969caa425b6c81c68bace99198dd9078ce05d16ad401fe7f",
298
+ "group": "sdxl_optional",
299
+ "public_upload": true
300
+ },
301
+ {
302
+ "path": "pose_diffusion/sdxl/text_encoder/model.fp16.safetensors",
303
+ "size": 246144152,
304
+ "sha256": "660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd",
305
+ "group": "sdxl_optional",
306
+ "public_upload": true
307
+ },
308
+ {
309
+ "path": "pose_diffusion/sdxl/text_encoder_2/config.json",
310
+ "size": 575,
311
+ "sha256": "a892d1c3a69a7e9247a24de2bc1d5891e3109a54696e53be20093af671072c34",
312
+ "group": "sdxl_optional",
313
+ "public_upload": true
314
+ },
315
+ {
316
+ "path": "pose_diffusion/sdxl/text_encoder_2/model.fp16.safetensors",
317
+ "size": 1389382176,
318
+ "sha256": "ec310df2af79c318e24d20511b601a591ca8cd4f1fce1d8dff822a356bcdb1f4",
319
+ "group": "sdxl_optional",
320
+ "public_upload": true
321
+ },
322
+ {
323
+ "path": "pose_diffusion/sdxl/tokenizer/merges.txt",
324
+ "size": 524619,
325
+ "sha256": "9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a",
326
+ "group": "sdxl_optional",
327
+ "public_upload": true
328
+ },
329
+ {
330
+ "path": "pose_diffusion/sdxl/tokenizer/special_tokens_map.json",
331
+ "size": 472,
332
+ "sha256": "c4864a9376a8401918425bed71fc14fc0e81f9b59ec45c1cf96cccb2df508eac",
333
+ "group": "sdxl_optional",
334
+ "public_upload": true
335
+ },
336
+ {
337
+ "path": "pose_diffusion/sdxl/tokenizer/tokenizer_config.json",
338
+ "size": 737,
339
+ "sha256": "19d7b034cb0cc3ce9766c2231373ab8aa8991fc72e2c8f76558bfaae3de0d563",
340
+ "group": "sdxl_optional",
341
+ "public_upload": true
342
+ },
343
+ {
344
+ "path": "pose_diffusion/sdxl/tokenizer/vocab.json",
345
+ "size": 1059962,
346
+ "sha256": "e089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349",
347
+ "group": "sdxl_optional",
348
+ "public_upload": true
349
+ },
350
+ {
351
+ "path": "pose_diffusion/sdxl/tokenizer_2/merges.txt",
352
+ "size": 524619,
353
+ "sha256": "9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a",
354
+ "group": "sdxl_optional",
355
+ "public_upload": true
356
+ },
357
+ {
358
+ "path": "pose_diffusion/sdxl/tokenizer_2/special_tokens_map.json",
359
+ "size": 460,
360
+ "sha256": "f118ab3a983206e4f32583448de6bd6aae4ee21869135cef1f5848a753cdaab6",
361
+ "group": "sdxl_optional",
362
+ "public_upload": true
363
+ },
364
+ {
365
+ "path": "pose_diffusion/sdxl/tokenizer_2/tokenizer_config.json",
366
+ "size": 725,
367
+ "sha256": "c9d23941f76a41cbd50eda9290f57be7828f0a7a677939e9ef181f7e12bd1bdf",
368
+ "group": "sdxl_optional",
369
+ "public_upload": true
370
+ },
371
+ {
372
+ "path": "pose_diffusion/sdxl/tokenizer_2/vocab.json",
373
+ "size": 1059962,
374
+ "sha256": "e089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349",
375
+ "group": "sdxl_optional",
376
+ "public_upload": true
377
+ },
378
+ {
379
+ "path": "pose_diffusion/sdxl/unet/config.json",
380
+ "size": 1680,
381
+ "sha256": "30ebc70750223e59006f7f2b4e1e6c102570aa19a9c4ae3e1fbe7591332dbae6",
382
+ "group": "sdxl_optional",
383
+ "public_upload": true
384
+ },
385
+ {
386
+ "path": "pose_diffusion/sdxl/unet/diffusion_pytorch_model.fp16.safetensors",
387
+ "size": 5135149760,
388
+ "sha256": "83e012a805b84c7ca28e5646747c90a243c65c8ba4f070e2d7ddc9d74661e139",
389
+ "group": "sdxl_optional",
390
+ "public_upload": true
391
+ },
392
+ {
393
+ "path": "pose_diffusion/sdxl/vae/config.json",
394
+ "size": 642,
395
+ "sha256": "0b331c8ac22ded5f9997a144a575c1d113d6169aff262c353f39015bd24a6264",
396
+ "group": "sdxl_optional",
397
+ "public_upload": true
398
+ },
399
+ {
400
+ "path": "pose_diffusion/sdxl/vae/diffusion_pytorch_model.fp16.safetensors",
401
+ "size": 167335342,
402
+ "sha256": "bcb60880a46b63dea58e9bc591abe15f8350bde47b405f9c38f4be70c6161e68",
403
+ "group": "sdxl_optional",
404
+ "public_upload": true
405
+ },
406
+ {
407
+ "path": "pose_diffusion/vae/config.json",
408
+ "size": 631,
409
+ "sha256": "f18b16fa4381c90ab44a3d7abd2e90afd05a2c31b8ca69998bc93c6453aeb7b7",
410
+ "group": "sdxl_optional",
411
+ "public_upload": true
412
+ },
413
+ {
414
+ "path": "pose_diffusion/vae/diffusion_pytorch_model.safetensors",
415
+ "size": 334643238,
416
+ "sha256": "1b909373b28f2137098b0fd9dbc6f97f8410854f31f84ddc9fa04b077b0ace2c",
417
+ "group": "sdxl_optional",
418
+ "public_upload": true
419
+ },
420
+ {
421
+ "path": "qwenimage21/.gitattributes",
422
+ "size": 2312,
423
+ "sha256": "e2084e8b0bcc1a160e299fbfd868671fb3baf443aaab086675fc0b333eef094d",
424
+ "group": "qwen21",
425
+ "public_upload": true
426
+ },
427
+ {
428
+ "path": "qwenimage21/LICENSE",
429
+ "size": 7831,
430
+ "sha256": "8dc973f024ff95966bea25866efa443fd16776dcb1001e681e3d467ea572b28d",
431
+ "group": "qwen21",
432
+ "public_upload": true
433
+ },
434
+ {
435
+ "path": "qwenimage21/NOTICE",
436
+ "size": 148,
437
+ "sha256": "efa09ff399c8e4426b6e57e707c14e5db35258a290a15368a5bacd3e1e8381ab",
438
+ "group": "qwen21",
439
+ "public_upload": true
440
+ },
441
+ {
442
+ "path": "qwenimage21/README.md",
443
+ "size": 5398,
444
+ "sha256": "d4ec4b7e18642528b64ddadacc4a95a0ceb1bff1d5074f1d408a9ad2c253c483",
445
+ "group": "qwen21",
446
+ "public_upload": true
447
+ },
448
+ {
449
+ "path": "qwenimage21/assets/qr.png",
450
+ "size": 3172431,
451
+ "sha256": "9c3465cbd9fe1bdd974b91ef472890b98e43e9111f53477b5e8c2224761a2829",
452
+ "group": "qwen21",
453
+ "public_upload": true
454
+ },
455
+ {
456
+ "path": "qwenimage21/configuration.json",
457
+ "size": 34,
458
+ "sha256": "049315aecd90cb6b68dba11d203b118183bae4470b84b15a7945a4637b1e05f2",
459
+ "group": "qwen21",
460
+ "public_upload": true
461
+ },
462
+ {
463
+ "path": "qwenimage21/model_index.json",
464
+ "size": 447,
465
+ "sha256": "cf1ecd104ea090855d60d8cec0895c1e9d6ee41b2f87e231b678beecd1cf7809",
466
+ "group": "qwen21",
467
+ "public_upload": true
468
+ },
469
+ {
470
+ "path": "qwenimage21/processor/added_tokens.json",
471
+ "size": 707,
472
+ "sha256": "c0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680",
473
+ "group": "qwen21",
474
+ "public_upload": true
475
+ },
476
+ {
477
+ "path": "qwenimage21/processor/chat_template.jinja",
478
+ "size": 5292,
479
+ "sha256": "3636d0f0bd6bef02654cdffdc447b79cb2cef8ab02cc75267345946291a489e4",
480
+ "group": "qwen21",
481
+ "public_upload": true
482
+ },
483
+ {
484
+ "path": "qwenimage21/processor/merges.txt",
485
+ "size": 1671853,
486
+ "sha256": "8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5",
487
+ "group": "qwen21",
488
+ "public_upload": true
489
+ },
490
+ {
491
+ "path": "qwenimage21/processor/preprocessor_config.json",
492
+ "size": 782,
493
+ "sha256": "93585062a80db5e8ca038efc7726a3e6411d9db948472d81d63c6303993be8c5",
494
+ "group": "qwen21",
495
+ "public_upload": true
496
+ },
497
+ {
498
+ "path": "qwenimage21/processor/special_tokens_map.json",
499
+ "size": 613,
500
+ "sha256": "76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd",
501
+ "group": "qwen21",
502
+ "public_upload": true
503
+ },
504
+ {
505
+ "path": "qwenimage21/processor/tokenizer.json",
506
+ "size": 11422654,
507
+ "sha256": "aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4",
508
+ "group": "qwen21",
509
+ "public_upload": true
510
+ },
511
+ {
512
+ "path": "qwenimage21/processor/tokenizer_config.json",
513
+ "size": 5445,
514
+ "sha256": "81ec7bb9530159b326c0bef1d0b6c33d392090524014ea3f0123a3c1eb9c2af5",
515
+ "group": "qwen21",
516
+ "public_upload": true
517
+ },
518
+ {
519
+ "path": "qwenimage21/processor/video_preprocessor_config.json",
520
+ "size": 817,
521
+ "sha256": "59c5c9eb52182eb14c06ffb10ca9effd29adce5f238a95de23ca14a38dbd2cb1",
522
+ "group": "qwen21",
523
+ "public_upload": true
524
+ },
525
+ {
526
+ "path": "qwenimage21/processor/vocab.json",
527
+ "size": 2776833,
528
+ "sha256": "ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910",
529
+ "group": "qwen21",
530
+ "public_upload": true
531
+ },
532
+ {
533
+ "path": "qwenimage21/scheduler/scheduler_config.json",
534
+ "size": 485,
535
+ "sha256": "5895f3a167c14a967fe9ac70c64924ae5acc79799e0679fd12907e594a713cd1",
536
+ "group": "qwen21",
537
+ "public_upload": true
538
+ },
539
+ {
540
+ "path": "qwenimage21/text_encoder/config.json",
541
+ "size": 1517,
542
+ "sha256": "6001331949f7f86ab6d791a80b12246d4f8da5159fa08c3e62368a39f36d63a9",
543
+ "group": "qwen21",
544
+ "public_upload": true
545
+ },
546
+ {
547
+ "path": "qwenimage21/text_encoder/generation_config.json",
548
+ "size": 213,
549
+ "sha256": "4d9818c3d27895c0058828a5f68bc7a4de80c3ae1bcdac90936ce24178063f59",
550
+ "group": "qwen21",
551
+ "public_upload": true
552
+ },
553
+ {
554
+ "path": "qwenimage21/text_encoder/model-00001-of-00004.safetensors",
555
+ "size": 4998056552,
556
+ "sha256": "dde00291b5f7fb92013895310a3da0ddba78674df9f10d505d375243dc01fc6f",
557
+ "group": "qwen21",
558
+ "public_upload": true
559
+ },
560
+ {
561
+ "path": "qwenimage21/text_encoder/model-00002-of-00004.safetensors",
562
+ "size": 4915962464,
563
+ "sha256": "9047faccc0a6d98496a52d55f27be1c94a9c259d1e283fbea0128d054a948d42",
564
+ "group": "qwen21",
565
+ "public_upload": true
566
+ },
567
+ {
568
+ "path": "qwenimage21/text_encoder/model-00003-of-00004.safetensors",
569
+ "size": 4915962496,
570
+ "sha256": "8c54187654c0176b73ae73785bf791dc9a14c9df7fb4310083a09d42048cb57e",
571
+ "group": "qwen21",
572
+ "public_upload": true
573
+ },
574
+ {
575
+ "path": "qwenimage21/text_encoder/model-00004-of-00004.safetensors",
576
+ "size": 2704357976,
577
+ "sha256": "5311532aaaeae3259eb6a7b2c600636be1159adf7ded35f53579f7d0e7d43cdd",
578
+ "group": "qwen21",
579
+ "public_upload": true
580
+ },
581
+ {
582
+ "path": "qwenimage21/text_encoder/model.safetensors.index.json",
583
+ "size": 67795,
584
+ "sha256": "859146bff8db1d617fca8b457a5223edff963bb70076b3645f2189fe0540a147",
585
+ "group": "qwen21",
586
+ "public_upload": true
587
+ },
588
+ {
589
+ "path": "qwenimage21/transformer/config.json",
590
+ "size": 370,
591
+ "sha256": "56ae3281c4e6c2d1aa3658252d187488071815fd79bef15808bb0205fc1a2241",
592
+ "group": "qwen21",
593
+ "public_upload": true
594
+ },
595
+ {
596
+ "path": "qwenimage21/transformer/diffusion_pytorch_model-00001-of-00002.safetensors",
597
+ "size": 9968332504,
598
+ "sha256": "9e6bc2d641e67bf277895ea8777141044a38f3edb7101bc469b2961dd7c36b4b",
599
+ "group": "qwen21",
600
+ "public_upload": true
601
+ },
602
+ {
603
+ "path": "qwenimage21/transformer/diffusion_pytorch_model-00002-of-00002.safetensors",
604
+ "size": 4261951904,
605
+ "sha256": "3aaf234dcbe128530479735854a346b5e3e66283b7c11db56f836bbd1c13ebaa",
606
+ "group": "qwen21",
607
+ "public_upload": true
608
+ },
609
+ {
610
+ "path": "qwenimage21/transformer/diffusion_pytorch_model.safetensors.index.json",
611
+ "size": 30283,
612
+ "sha256": "17987f6623b1c814d0ef55a137d99142b7b3b040eb1bf241b5575dd35af803a2",
613
+ "group": "qwen21",
614
+ "public_upload": true
615
+ },
616
+ {
617
+ "path": "qwenimage21/vae/config.json",
618
+ "size": 2079,
619
+ "sha256": "9785d527b278cb8b210e9f48a8028d92a4190968ce7e24c8fc85d9d1b82f6ba2",
620
+ "group": "qwen21",
621
+ "public_upload": true
622
+ },
623
+ {
624
+ "path": "qwenimage21/vae/diffusion_pytorch_model.safetensors",
625
+ "size": 1350989512,
626
+ "sha256": "a07a1b7c4ee2966a1b3bdc37de9b4f983d56937e46619f709a80b6e490675417",
627
+ "group": "qwen21",
628
+ "public_upload": true
629
+ }
630
+ ],
631
+ "public_bytes_total": 46206171474
632
+ }
model_sources.json ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format_version": 1,
3
+ "components": [
4
+ {
5
+ "component": "sdxl",
6
+ "local_paths": [
7
+ "pose_diffusion/sdxl/**"
8
+ ],
9
+ "upstream_repository": "stabilityai/stable-diffusion-xl-base-1.0",
10
+ "source_revision": "462165984030d82259a11f4367a4eed129e94a7b",
11
+ "model_license_declared": "CreativeML Open RAIL++-M, dated July 26, 2023",
12
+ "evidence_url": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/462165984030d82259a11f4367a4eed129e94a7b/README.md",
13
+ "sha256_identity_matches": [
14
+ {
15
+ "file": "unet/diffusion_pytorch_model.fp16.safetensors",
16
+ "sha256": "83e012a805b84c7ca28e5646747c90a243c65c8ba4f070e2d7ddc9d74661e139"
17
+ }
18
+ ],
19
+ "license_documents": [
20
+ "SDXL_CreativeML_Open_RAIL_pp_M_LICENSE.md"
21
+ ],
22
+ "redistribution_assessment": "subject_to_license",
23
+ "notes": [
24
+ "Official SDXL model license applies to base weights. Retain license, model card, notices, and applicable downstream use restrictions.",
25
+ "UNet fp16 SHA matches official repository; remainder provenance is in local_weights_copy_manifest.json."
26
+ ]
27
+ },
28
+ {
29
+ "component": "controlnet",
30
+ "local_paths": [
31
+ "pose_diffusion/controlnet/**"
32
+ ],
33
+ "upstream_repository": "thibaud/controlnet-openpose-sdxl-1.0",
34
+ "source_revision": "1db673ed3dad75181fcf2e24f827597fe34e97b7",
35
+ "model_license_declared": "other; model card refers to OpenPose license",
36
+ "evidence_url": "https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0/blob/1db673ed3dad75181fcf2e24f827597fe34e97b7/README.md",
37
+ "sha256_identity_matches": [],
38
+ "license_documents": [
39
+ "OpenPose_RESTRICTED_reference_LICENSE.txt"
40
+ ],
41
+ "redistribution_assessment": "restricted_do_not_mirror",
42
+ "notes": [
43
+ "Pinned model card says: License refers to OpenPose\u2019s one.",
44
+ "OpenPose license grants non-transferable, noncommercial internal research use and prohibits distribution/sublicensing/third-party access.",
45
+ "Keep local complete weights; omit ControlNet binary from public Hugging Face mirror unless separate redistribution permission is documented. Point users to upstream and its terms.",
46
+ "This is an evidence-based conservative release assessment of the model card reference, not a claim that OpenPose software itself is embedded in the ControlNet file."
47
+ ]
48
+ },
49
+ {
50
+ "component": "ip_adapter",
51
+ "local_paths": [
52
+ "pose_diffusion/ip_adapter/ip-adapter_sdxl_vit-h.safetensors"
53
+ ],
54
+ "upstream_repository": "h94/IP-Adapter",
55
+ "source_revision": "018e402774aeeddd60609b4ecdb7e298259dc729",
56
+ "model_license_declared": "Apache-2.0",
57
+ "evidence_url": "https://huggingface.co/h94/IP-Adapter/blob/018e402774aeeddd60609b4ecdb7e298259dc729/README.md",
58
+ "sha256_identity_matches": [
59
+ {
60
+ "file": "sdxl_models/ip-adapter_sdxl_vit-h.safetensors",
61
+ "sha256": "ebf05d918348aec7abb02a5e9ecef77e0aaea6914a5c4ea13f50d45eb1681831"
62
+ }
63
+ ],
64
+ "license_documents": [
65
+ "IP_Adapter_Apache_2.0_LICENSE.txt"
66
+ ],
67
+ "redistribution_assessment": "subject_to_license",
68
+ "notes": [
69
+ "Adapter binary SHA exactly matches h94/IP-Adapter sdxl_models/ip-adapter_sdxl_vit-h.safetensors.",
70
+ "Model card declares Apache-2.0; full text available from official Tencent IP-Adapter source. Preserve license and source notices."
71
+ ]
72
+ },
73
+ {
74
+ "component": "clip_h",
75
+ "local_paths": [
76
+ "pose_diffusion/ip_adapter/image_encoder_h2/**"
77
+ ],
78
+ "upstream_repository": "laion/CLIP-ViT-H-14-laion2B-s32B-b79K",
79
+ "source_revision": "1c2b8495b28150b8a4922ee1c8edee224c284c0c",
80
+ "model_license_declared": "MIT",
81
+ "evidence_url": "https://huggingface.co/laion/CLIP-ViT-H-14-laion2B-s32B-b79K/blob/1c2b8495b28150b8a4922ee1c8edee224c284c0c/README.md",
82
+ "sha256_identity_matches": [
83
+ {
84
+ "file": "model.safetensors",
85
+ "sha256": "036e6e2bd49697511f4f8b8cb5ee465f93025f7a69a145eadeb9a881ace9b18d"
86
+ }
87
+ ],
88
+ "license_documents": [
89
+ "OpenCLIP_MIT_LICENSE.txt",
90
+ "MIT_template_SPDX_reference.txt"
91
+ ],
92
+ "redistribution_assessment": "subject_to_license",
93
+ "notes": [
94
+ "The local complete CLIPModel safetensors SHA exactly matches laion/CLIP-ViT-H-14-laion2B-s32B-b79K/model.safetensors. Identification is based on the weight digest, not architecture alone.",
95
+ "The model card declares MIT. Preserve its model card; OpenCLIP upstream MIT text is saved with original copyright names."
96
+ ]
97
+ },
98
+ {
99
+ "component": "vae",
100
+ "local_paths": [
101
+ "pose_diffusion/vae/**"
102
+ ],
103
+ "upstream_repository": "madebyollin/sdxl-vae-fp16-fix",
104
+ "source_revision": "207b116dae70ace3637169f1ddd2434b91b3a8cd",
105
+ "model_license_declared": "MIT",
106
+ "evidence_url": "https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/blob/207b116dae70ace3637169f1ddd2434b91b3a8cd/README.md",
107
+ "sha256_identity_matches": [
108
+ {
109
+ "file": "diffusion_pytorch_model.safetensors",
110
+ "sha256": "1b909373b28f2137098b0fd9dbc6f97f8410854f31f84ddc9fa04b077b0ace2c"
111
+ }
112
+ ],
113
+ "license_documents": [
114
+ "MIT_template_SPDX_reference.txt",
115
+ "SDXL_CreativeML_Open_RAIL_pp_M_LICENSE.md"
116
+ ],
117
+ "redistribution_assessment": "subject_to_license",
118
+ "notes": [
119
+ "The local weight SHA exactly matches madebyollin/sdxl-vae-fp16-fix/diffusion_pytorch_model.safetensors.",
120
+ "The repository declares MIT but does not contain a dedicated LICENSE/NOTICE file. Retain its original model card and full MIT reference text; do not invent a copyright holder.",
121
+ "The model card identifies this as a modified SDXL-VAE 0.9 model. Preserve underlying SDXL provenance/restrictions as applicable rather than describing every SDXL component as solely MIT."
122
+ ]
123
+ },
124
+ {
125
+ "component": "layerdiffuse_decoder",
126
+ "local_paths": [
127
+ "pose_diffusion/layerdiffuse/vae_transparent_decoder.safetensors"
128
+ ],
129
+ "upstream_repository": "LayerDiffusion/layerdiffusion-v1",
130
+ "source_revision": "e337e9d7a0f2a6fee6c3580374327380f88d065b",
131
+ "model_license_declared": "CreativeML Open RAIL-M",
132
+ "evidence_url": "https://huggingface.co/LayerDiffusion/layerdiffusion-v1/blob/e337e9d7a0f2a6fee6c3580374327380f88d065b/README.md",
133
+ "sha256_identity_matches": [],
134
+ "license_documents": [
135
+ "CreativeML_Open_RAIL_M_reference_LICENSE.txt",
136
+ "LayerDiffusion_original_code_Apache_2.0_LICENSE.txt"
137
+ ],
138
+ "redistribution_assessment": "subject_to_license",
139
+ "notes": [
140
+ "Pinned HF model metadata declares creativeml-openrail-m. No dedicated LICENSE file is present in that model repository.",
141
+ "Original LayerDiffusion implementation code has Apache-2.0, which is distinct from the model-card weight license.",
142
+ "CreativeML Open RAIL-M full text from original CompVis release is stored as an explicitly labeled license reference; retain the LayerDiffusion model card and attribution. Do not relabel the decoder as Apache-2.0 or MIT."
143
+ ]
144
+ },
145
+ {
146
+ "component": "layerdiffuse_attention",
147
+ "local_paths": [
148
+ "pose_diffusion/layerdiffuse/diffuser_layer_xl_transparent_attn.safetensors"
149
+ ],
150
+ "upstream_repository": "rootonchair/diffuser_layerdiffuse",
151
+ "source_revision": "2c97b46a3c3f997ef31906b00f3db4f54ebf3f42",
152
+ "model_license_declared": "MIT in conversion repository; original LayerDiffusion weight terms retained",
153
+ "evidence_url": "https://huggingface.co/rootonchair/diffuser_layerdiffuse/blob/2c97b46a3c3f997ef31906b00f3db4f54ebf3f42/README.md",
154
+ "sha256_identity_matches": [],
155
+ "license_documents": [
156
+ "LayerDiffuse_conversion_MIT_LICENSE.txt",
157
+ "CreativeML_Open_RAIL_M_reference_LICENSE.txt"
158
+ ],
159
+ "redistribution_assessment": "subject_to_license",
160
+ "notes": [
161
+ "Pinned rootonchair model card declares MIT for the Diffusers port. Its source repository identifies a port of original sd-forge-layerdiffuse weights.",
162
+ "Treat MIT as conversion/source license; preserve original LayerDiffusion Open RAIL-M model provenance and use restrictions for the converted original weight rather than claiming a conversion removes upstream terms.",
163
+ "Local binary SHA/revision verification is recorded in download_manifest_extra.json."
164
+ ]
165
+ },
166
+ {
167
+ "component": "flexdm_design_encoder",
168
+ "local_paths": [
169
+ "flexdm/design_encoder.pt",
170
+ "flexdm/metadata.json",
171
+ "flexdm/provenance.json"
172
+ ],
173
+ "upstream_code_repository": "https://github.com/CyberAgentAILab/flex-dm",
174
+ "upstream_code_license": "Apache-2.0",
175
+ "model_license_declared": "No separate explicit model-weight license located; locally trained project checkpoint supplied by owner. Do not automatically assign code license to checkpoint.",
176
+ "local_training_source": {
177
+ "checkpoint": "opensource/flexdm/runs/full_20261013/exp_ft/best.pt",
178
+ "sha256": "6ed6cb3e12eb0f83107b73da4e401d404ad56a1c782650c96d0fe82cac1c486a",
179
+ "epoch": 90,
180
+ "global_step": 6570,
181
+ "selection": "EXP-FT best validation checkpoint after IMP 500 epochs"
182
+ },
183
+ "extracted_checkpoint_sha256": "b75c3dab8a1f5e4f9dd7b6fb8c43f82a4ec11143545329e9937e291a58fc5e01",
184
+ "tensor_count": 78,
185
+ "source_model_tensor_count": 98,
186
+ "notes": [
187
+ "The release encoder is strictly extracted from the local full-training best checkpoint, not a renamed public TensorFlow checkpoint.",
188
+ "Original public FlexDM Crello pretrained weights are separately linked by upstream README at https://storage.googleapis.com/ailab-public/flexdm/pretrained_weights/crello.zip; they are not the immediate source checkpoint of this encoder.",
189
+ "Local supplied source LICENSE is byte-identical to official CyberAgentAILab/flex-dm/LICENSE. The owner can specify license for locally trained model weights separately from upstream code."
190
+ ],
191
+ "license_documents": [
192
+ "FlexDM_Apache_2.0_LICENSE.txt"
193
+ ],
194
+ "redistribution_assessment": "owner_supplied_locally_trained_model_separate_license_not_found"
195
+ },
196
+ {
197
+ "component": "pose_tokenizer",
198
+ "local_paths": [
199
+ "pose/52joints_tokenization.pth"
200
+ ],
201
+ "immediate_source": "Design-pose-MM/design2pose_dualTrainning/pretrained_model/52joints_tokenization.pth",
202
+ "source_evidence": "HumanAware/vendor/render/PROVENANCE.json",
203
+ "upstream_public_repository": null,
204
+ "model_license_declared": null,
205
+ "notes": [
206
+ "User-provided original-project model; no public source/license identified from original project directory or exact-filename/class-name web searches.",
207
+ "Checkpoint has top-level net and hparams. hparams identifies amass_pose and 52-joint processed data; this does not establish checkpoint ownership or a redistribution license.",
208
+ "Do not describe this checkpoint as Apache-2.0 merely because nearby FlexDM code uses Apache. Record provenance and retain any owner-supplied terms."
209
+ ],
210
+ "redistribution_assessment": "owner_supplied_original_project_model_public_license_not_found"
211
+ },
212
+ {
213
+ "component": "qwenimage21",
214
+ "local_paths": [
215
+ "qwenimage21/**"
216
+ ],
217
+ "model_license_declared": "Qwen RESEARCH LICENSE AGREEMENT, Release Date September 20, 2026",
218
+ "source_evidence": "weight/qwenimage21/LICENSE",
219
+ "redistribution_assessment": "noncommercial_research_or_evaluation_only_subject_to_redistribution_conditions",
220
+ "notes": [
221
+ "Parent release workflow independently confirmed this model license. The local license allows noncommercial redistribution with its agreement, modification notices, and specified Notice attribution.",
222
+ "Keep original LICENSE and README; do not call Qwen Image 2.1 Apache-2.0."
223
+ ]
224
+ },
225
+ {
226
+ "component": "smplx_body_model",
227
+ "local_paths": [
228
+ "body_models/smplx/SMPLX_NEUTRAL.npz"
229
+ ],
230
+ "redistribution_assessment": "excluded_from_public_upload_separate_user_license_required",
231
+ "notes": [
232
+ "Not part of public model mirror. Users must obtain authorized SMPL-X model assets separately under original terms. Parent workflow confirmed this restriction."
233
+ ]
234
+ }
235
+ ],
236
+ "official_license_document_urls": {
237
+ "sdxl": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/raw/main/LICENSE.md",
238
+ "ip_adapter": "https://raw.githubusercontent.com/tencent-ailab/IP-Adapter/main/LICENSE",
239
+ "openclip": "https://raw.githubusercontent.com/mlfoundations/open_clip/main/LICENSE",
240
+ "flexdm": "https://raw.githubusercontent.com/CyberAgentAILab/flex-dm/main/LICENSE",
241
+ "layerdiffuse_port": "https://raw.githubusercontent.com/rootonchair/diffuser_layerdiffuse/main/LICENSE",
242
+ "layerdiffuse_original_code": "https://raw.githubusercontent.com/lllyasviel/sd-forge-layerdiffuse/main/LICENSE",
243
+ "layerdiffuse_openrail_m_reference": "https://raw.githubusercontent.com/CompVis/stable-diffusion/main/LICENSE",
244
+ "pytorch3d": "https://raw.githubusercontent.com/facebookresearch/pytorch3d/main/LICENSE",
245
+ "openpose_restricted": "https://raw.githubusercontent.com/CMU-Perceptual-Computing-Lab/openpose/master/LICENSE",
246
+ "mit_template_reference": "https://raw.githubusercontent.com/spdx/license-list-data/main/text/MIT.txt"
247
+ },
248
+ "verified_server_copy_sources": [
249
+ {
250
+ "path_in_repo": "pose_diffusion/ip_adapter/image_encoder_h2/model.safetensors",
251
+ "size": 3944552236,
252
+ "sha256": "036e6e2bd49697511f4f8b8cb5ee465f93025f7a69a145eadeb9a881ace9b18d",
253
+ "src_repo_id": "laion/CLIP-ViT-H-14-laion2B-s32B-b79K",
254
+ "src_repo_type": "model",
255
+ "src_revision": "1c2b8495b28150b8a4922ee1c8edee224c284c0c",
256
+ "src_path_in_repo": "model.safetensors"
257
+ },
258
+ {
259
+ "path_in_repo": "pose_diffusion/ip_adapter/ip-adapter_sdxl_vit-h.safetensors",
260
+ "size": 698391064,
261
+ "sha256": "ebf05d918348aec7abb02a5e9ecef77e0aaea6914a5c4ea13f50d45eb1681831",
262
+ "src_repo_id": "h94/IP-Adapter",
263
+ "src_repo_type": "model",
264
+ "src_revision": "018e402774aeeddd60609b4ecdb7e298259dc729",
265
+ "src_path_in_repo": "sdxl_models/ip-adapter_sdxl_vit-h.safetensors"
266
+ },
267
+ {
268
+ "path_in_repo": "pose_diffusion/layerdiffuse/diffuser_layer_xl_transparent_attn.safetensors",
269
+ "size": 743345968,
270
+ "sha256": "2626f9aa142f260c12336af754e6003661fbd75c467ecb3906f94783cc2b1b42",
271
+ "src_repo_id": "rootonchair/diffuser_layerdiffuse",
272
+ "src_repo_type": "model",
273
+ "src_revision": "2c97b46a3c3f997ef31906b00f3db4f54ebf3f42",
274
+ "src_path_in_repo": "diffuser_layer_xl_transparent_attn.safetensors"
275
+ },
276
+ {
277
+ "path_in_repo": "pose_diffusion/layerdiffuse/vae_transparent_decoder.safetensors",
278
+ "size": 208266320,
279
+ "sha256": "59dc8feefe40d26b6cb7186aed7af70c60d94ac4f9db8ebe7f121a01ba27a2fc",
280
+ "src_repo_id": "LayerDiffusion/layerdiffusion-v1",
281
+ "src_repo_type": "model",
282
+ "src_revision": "e337e9d7a0f2a6fee6c3580374327380f88d065b",
283
+ "src_path_in_repo": "vae_transparent_decoder.safetensors"
284
+ },
285
+ {
286
+ "path_in_repo": "pose_diffusion/sdxl/text_encoder/model.fp16.safetensors",
287
+ "size": 246144152,
288
+ "sha256": "660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd",
289
+ "src_repo_id": "stabilityai/stable-diffusion-xl-base-1.0",
290
+ "src_repo_type": "model",
291
+ "src_revision": "462165984030d82259a11f4367a4eed129e94a7b",
292
+ "src_path_in_repo": "text_encoder/model.fp16.safetensors"
293
+ },
294
+ {
295
+ "path_in_repo": "pose_diffusion/sdxl/text_encoder_2/model.fp16.safetensors",
296
+ "size": 1389382176,
297
+ "sha256": "ec310df2af79c318e24d20511b601a591ca8cd4f1fce1d8dff822a356bcdb1f4",
298
+ "src_repo_id": "stabilityai/stable-diffusion-xl-base-1.0",
299
+ "src_repo_type": "model",
300
+ "src_revision": "462165984030d82259a11f4367a4eed129e94a7b",
301
+ "src_path_in_repo": "text_encoder_2/model.fp16.safetensors"
302
+ },
303
+ {
304
+ "path_in_repo": "pose_diffusion/sdxl/unet/diffusion_pytorch_model.fp16.safetensors",
305
+ "size": 5135149760,
306
+ "sha256": "83e012a805b84c7ca28e5646747c90a243c65c8ba4f070e2d7ddc9d74661e139",
307
+ "src_repo_id": "stabilityai/stable-diffusion-xl-base-1.0",
308
+ "src_repo_type": "model",
309
+ "src_revision": "462165984030d82259a11f4367a4eed129e94a7b",
310
+ "src_path_in_repo": "unet/diffusion_pytorch_model.fp16.safetensors"
311
+ },
312
+ {
313
+ "path_in_repo": "pose_diffusion/sdxl/vae/diffusion_pytorch_model.fp16.safetensors",
314
+ "size": 167335342,
315
+ "sha256": "bcb60880a46b63dea58e9bc591abe15f8350bde47b405f9c38f4be70c6161e68",
316
+ "src_repo_id": "stabilityai/stable-diffusion-xl-base-1.0",
317
+ "src_repo_type": "model",
318
+ "src_revision": "462165984030d82259a11f4367a4eed129e94a7b",
319
+ "src_path_in_repo": "vae/diffusion_pytorch_model.fp16.safetensors"
320
+ },
321
+ {
322
+ "path_in_repo": "pose_diffusion/vae/diffusion_pytorch_model.safetensors",
323
+ "size": 334643238,
324
+ "sha256": "1b909373b28f2137098b0fd9dbc6f97f8410854f31f84ddc9fa04b077b0ace2c",
325
+ "src_repo_id": "madebyollin/sdxl-vae-fp16-fix",
326
+ "src_repo_type": "model",
327
+ "src_revision": "207b116dae70ace3637169f1ddd2434b91b3a8cd",
328
+ "src_path_in_repo": "diffusion_pytorch_model.safetensors"
329
+ },
330
+ {
331
+ "path_in_repo": "qwenimage21/processor/tokenizer.json",
332
+ "size": 11422654,
333
+ "sha256": "aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4",
334
+ "src_repo_id": "Qwen/Qwen-Image-2.1",
335
+ "src_repo_type": "model",
336
+ "src_revision": "d26bb61231c349cf6b7896fa83353113880e1ba3",
337
+ "src_path_in_repo": "processor/tokenizer.json"
338
+ },
339
+ {
340
+ "path_in_repo": "qwenimage21/text_encoder/model-00001-of-00004.safetensors",
341
+ "size": 4998056552,
342
+ "sha256": "dde00291b5f7fb92013895310a3da0ddba78674df9f10d505d375243dc01fc6f",
343
+ "src_repo_id": "Qwen/Qwen-Image-2.1",
344
+ "src_repo_type": "model",
345
+ "src_revision": "d26bb61231c349cf6b7896fa83353113880e1ba3",
346
+ "src_path_in_repo": "text_encoder/model-00001-of-00004.safetensors"
347
+ },
348
+ {
349
+ "path_in_repo": "qwenimage21/text_encoder/model-00002-of-00004.safetensors",
350
+ "size": 4915962464,
351
+ "sha256": "9047faccc0a6d98496a52d55f27be1c94a9c259d1e283fbea0128d054a948d42",
352
+ "src_repo_id": "Qwen/Qwen-Image-2.1",
353
+ "src_repo_type": "model",
354
+ "src_revision": "d26bb61231c349cf6b7896fa83353113880e1ba3",
355
+ "src_path_in_repo": "text_encoder/model-00002-of-00004.safetensors"
356
+ },
357
+ {
358
+ "path_in_repo": "qwenimage21/text_encoder/model-00003-of-00004.safetensors",
359
+ "size": 4915962496,
360
+ "sha256": "8c54187654c0176b73ae73785bf791dc9a14c9df7fb4310083a09d42048cb57e",
361
+ "src_repo_id": "Qwen/Qwen-Image-2.1",
362
+ "src_repo_type": "model",
363
+ "src_revision": "d26bb61231c349cf6b7896fa83353113880e1ba3",
364
+ "src_path_in_repo": "text_encoder/model-00003-of-00004.safetensors"
365
+ },
366
+ {
367
+ "path_in_repo": "qwenimage21/text_encoder/model-00004-of-00004.safetensors",
368
+ "size": 2704357976,
369
+ "sha256": "5311532aaaeae3259eb6a7b2c600636be1159adf7ded35f53579f7d0e7d43cdd",
370
+ "src_repo_id": "Qwen/Qwen-Image-2.1",
371
+ "src_repo_type": "model",
372
+ "src_revision": "d26bb61231c349cf6b7896fa83353113880e1ba3",
373
+ "src_path_in_repo": "text_encoder/model-00004-of-00004.safetensors"
374
+ },
375
+ {
376
+ "path_in_repo": "qwenimage21/transformer/diffusion_pytorch_model-00001-of-00002.safetensors",
377
+ "size": 9968332504,
378
+ "sha256": "9e6bc2d641e67bf277895ea8777141044a38f3edb7101bc469b2961dd7c36b4b",
379
+ "src_repo_id": "Qwen/Qwen-Image-2.1",
380
+ "src_repo_type": "model",
381
+ "src_revision": "d26bb61231c349cf6b7896fa83353113880e1ba3",
382
+ "src_path_in_repo": "transformer/diffusion_pytorch_model-00001-of-00002.safetensors"
383
+ },
384
+ {
385
+ "path_in_repo": "qwenimage21/transformer/diffusion_pytorch_model-00002-of-00002.safetensors",
386
+ "size": 4261951904,
387
+ "sha256": "3aaf234dcbe128530479735854a346b5e3e66283b7c11db56f836bbd1c13ebaa",
388
+ "src_repo_id": "Qwen/Qwen-Image-2.1",
389
+ "src_repo_type": "model",
390
+ "src_revision": "d26bb61231c349cf6b7896fa83353113880e1ba3",
391
+ "src_path_in_repo": "transformer/diffusion_pytorch_model-00002-of-00002.safetensors"
392
+ },
393
+ {
394
+ "path_in_repo": "qwenimage21/vae/diffusion_pytorch_model.safetensors",
395
+ "size": 1350989512,
396
+ "sha256": "a07a1b7c4ee2966a1b3bdc37de9b4f983d56937e46619f709a80b6e490675417",
397
+ "src_repo_id": "Qwen/Qwen-Image-2.1",
398
+ "src_repo_type": "model",
399
+ "src_revision": "d26bb61231c349cf6b7896fa83353113880e1ba3",
400
+ "src_path_in_repo": "vae/diffusion_pytorch_model.safetensors"
401
+ }
402
+ ]
403
+ }
pose/52joints_tokenization.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0893481b5b6941f965c125dd10626fb91d28a51e04b3f3c3f330bb9e19a6d92d
3
+ size 52630720
pose_diffusion/ip_adapter/image_encoder_h2/config.json ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPModel"
4
+ ],
5
+ "initializer_factor": 1.0,
6
+ "logit_scale_init_value": 2.6592,
7
+ "model_type": "clip",
8
+ "projection_dim": 1024,
9
+ "text_config": {
10
+ "_name_or_path": "",
11
+ "add_cross_attention": false,
12
+ "architectures": null,
13
+ "attention_dropout": 0.0,
14
+ "bad_words_ids": null,
15
+ "bos_token_id": 0,
16
+ "chunk_size_feed_forward": 0,
17
+ "cross_attention_hidden_size": null,
18
+ "decoder_start_token_id": null,
19
+ "diversity_penalty": 0.0,
20
+ "do_sample": false,
21
+ "dropout": 0.0,
22
+ "early_stopping": false,
23
+ "encoder_no_repeat_ngram_size": 0,
24
+ "eos_token_id": 2,
25
+ "exponential_decay_length_penalty": null,
26
+ "finetuning_task": null,
27
+ "forced_bos_token_id": null,
28
+ "forced_eos_token_id": null,
29
+ "hidden_act": "gelu",
30
+ "hidden_size": 1024,
31
+ "id2label": {
32
+ "0": "LABEL_0",
33
+ "1": "LABEL_1"
34
+ },
35
+ "initializer_factor": 1.0,
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 4096,
38
+ "is_decoder": false,
39
+ "is_encoder_decoder": false,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1
43
+ },
44
+ "layer_norm_eps": 1e-05,
45
+ "length_penalty": 1.0,
46
+ "max_length": 20,
47
+ "max_position_embeddings": 77,
48
+ "min_length": 0,
49
+ "model_type": "clip_text_model",
50
+ "no_repeat_ngram_size": 0,
51
+ "num_attention_heads": 16,
52
+ "num_beam_groups": 1,
53
+ "num_beams": 1,
54
+ "num_hidden_layers": 24,
55
+ "num_return_sequences": 1,
56
+ "output_attentions": false,
57
+ "output_hidden_states": false,
58
+ "output_scores": false,
59
+ "pad_token_id": 1,
60
+ "prefix": null,
61
+ "problem_type": null,
62
+ "projection_dim": 1024,
63
+ "pruned_heads": {},
64
+ "remove_invalid_values": false,
65
+ "repetition_penalty": 1.0,
66
+ "return_dict": true,
67
+ "return_dict_in_generate": false,
68
+ "sep_token_id": null,
69
+ "task_specific_params": null,
70
+ "temperature": 1.0,
71
+ "tf_legacy_loss": false,
72
+ "tie_encoder_decoder": false,
73
+ "tie_word_embeddings": true,
74
+ "tokenizer_class": null,
75
+ "top_k": 50,
76
+ "top_p": 1.0,
77
+ "torch_dtype": null,
78
+ "torchscript": false,
79
+ "transformers_version": "4.21.3",
80
+ "typical_p": 1.0,
81
+ "use_bfloat16": false,
82
+ "vocab_size": 49408
83
+ },
84
+ "text_config_dict": {
85
+ "hidden_act": "gelu",
86
+ "hidden_size": 1024,
87
+ "intermediate_size": 4096,
88
+ "num_attention_heads": 16,
89
+ "num_hidden_layers": 24,
90
+ "projection_dim": 1024
91
+ },
92
+ "torch_dtype": "float32",
93
+ "transformers_version": null,
94
+ "vision_config": {
95
+ "_name_or_path": "",
96
+ "add_cross_attention": false,
97
+ "architectures": null,
98
+ "attention_dropout": 0.0,
99
+ "bad_words_ids": null,
100
+ "bos_token_id": null,
101
+ "chunk_size_feed_forward": 0,
102
+ "cross_attention_hidden_size": null,
103
+ "decoder_start_token_id": null,
104
+ "diversity_penalty": 0.0,
105
+ "do_sample": false,
106
+ "dropout": 0.0,
107
+ "early_stopping": false,
108
+ "encoder_no_repeat_ngram_size": 0,
109
+ "eos_token_id": null,
110
+ "exponential_decay_length_penalty": null,
111
+ "finetuning_task": null,
112
+ "forced_bos_token_id": null,
113
+ "forced_eos_token_id": null,
114
+ "hidden_act": "gelu",
115
+ "hidden_size": 1280,
116
+ "id2label": {
117
+ "0": "LABEL_0",
118
+ "1": "LABEL_1"
119
+ },
120
+ "image_size": 224,
121
+ "initializer_factor": 1.0,
122
+ "initializer_range": 0.02,
123
+ "intermediate_size": 5120,
124
+ "is_decoder": false,
125
+ "is_encoder_decoder": false,
126
+ "label2id": {
127
+ "LABEL_0": 0,
128
+ "LABEL_1": 1
129
+ },
130
+ "layer_norm_eps": 1e-05,
131
+ "length_penalty": 1.0,
132
+ "max_length": 20,
133
+ "min_length": 0,
134
+ "model_type": "clip_vision_model",
135
+ "no_repeat_ngram_size": 0,
136
+ "num_attention_heads": 16,
137
+ "num_beam_groups": 1,
138
+ "num_beams": 1,
139
+ "num_channels": 3,
140
+ "num_hidden_layers": 32,
141
+ "num_return_sequences": 1,
142
+ "output_attentions": false,
143
+ "output_hidden_states": false,
144
+ "output_scores": false,
145
+ "pad_token_id": null,
146
+ "patch_size": 14,
147
+ "prefix": null,
148
+ "problem_type": null,
149
+ "projection_dim": 1024,
150
+ "pruned_heads": {},
151
+ "remove_invalid_values": false,
152
+ "repetition_penalty": 1.0,
153
+ "return_dict": true,
154
+ "return_dict_in_generate": false,
155
+ "sep_token_id": null,
156
+ "task_specific_params": null,
157
+ "temperature": 1.0,
158
+ "tf_legacy_loss": false,
159
+ "tie_encoder_decoder": false,
160
+ "tie_word_embeddings": true,
161
+ "tokenizer_class": null,
162
+ "top_k": 50,
163
+ "top_p": 1.0,
164
+ "torch_dtype": null,
165
+ "torchscript": false,
166
+ "transformers_version": "4.21.3",
167
+ "typical_p": 1.0,
168
+ "use_bfloat16": false
169
+ },
170
+ "vision_config_dict": {
171
+ "hidden_act": "gelu",
172
+ "hidden_size": 1280,
173
+ "intermediate_size": 5120,
174
+ "num_attention_heads": 16,
175
+ "num_hidden_layers": 32,
176
+ "patch_size": 14,
177
+ "projection_dim": 1024
178
+ }
179
+ }
pose_diffusion/sdxl/model_index.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionXLPipeline",
3
+ "_diffusers_version": "0.19.0.dev0",
4
+ "force_zeros_for_empty_prompt": true,
5
+ "add_watermarker": null,
6
+ "scheduler": [
7
+ "diffusers",
8
+ "EulerDiscreteScheduler"
9
+ ],
10
+ "text_encoder": [
11
+ "transformers",
12
+ "CLIPTextModel"
13
+ ],
14
+ "text_encoder_2": [
15
+ "transformers",
16
+ "CLIPTextModelWithProjection"
17
+ ],
18
+ "tokenizer": [
19
+ "transformers",
20
+ "CLIPTokenizer"
21
+ ],
22
+ "tokenizer_2": [
23
+ "transformers",
24
+ "CLIPTokenizer"
25
+ ],
26
+ "unet": [
27
+ "diffusers",
28
+ "UNet2DConditionModel"
29
+ ],
30
+ "vae": [
31
+ "diffusers",
32
+ "AutoencoderKL"
33
+ ]
34
+ }
pose_diffusion/sdxl/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "EulerDiscreteScheduler",
3
+ "_diffusers_version": "0.19.0.dev0",
4
+ "beta_end": 0.012,
5
+ "beta_schedule": "scaled_linear",
6
+ "beta_start": 0.00085,
7
+ "clip_sample": false,
8
+ "interpolation_type": "linear",
9
+ "num_train_timesteps": 1000,
10
+ "prediction_type": "epsilon",
11
+ "sample_max_value": 1.0,
12
+ "set_alpha_to_one": false,
13
+ "skip_prk_steps": true,
14
+ "steps_offset": 1,
15
+ "timestep_spacing": "leading",
16
+ "trained_betas": null,
17
+ "use_karras_sigmas": false
18
+ }
pose_diffusion/sdxl/text_encoder/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPTextModel"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 0,
7
+ "dropout": 0.0,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "quick_gelu",
10
+ "hidden_size": 768,
11
+ "initializer_factor": 1.0,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 77,
16
+ "model_type": "clip_text_model",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 1,
20
+ "projection_dim": 768,
21
+ "torch_dtype": "float16",
22
+ "transformers_version": "4.32.0.dev0",
23
+ "vocab_size": 49408
24
+ }
pose_diffusion/sdxl/text_encoder_2/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPTextModelWithProjection"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 0,
7
+ "dropout": 0.0,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_size": 1280,
11
+ "initializer_factor": 1.0,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 5120,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 77,
16
+ "model_type": "clip_text_model",
17
+ "num_attention_heads": 20,
18
+ "num_hidden_layers": 32,
19
+ "pad_token_id": 1,
20
+ "projection_dim": 1280,
21
+ "torch_dtype": "float16",
22
+ "transformers_version": "4.32.0.dev0",
23
+ "vocab_size": 49408
24
+ }
pose_diffusion/sdxl/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pose_diffusion/sdxl/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
pose_diffusion/sdxl/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "clean_up_tokenization_spaces": true,
12
+ "do_lower_case": true,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "<|endoftext|>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "errors": "replace",
22
+ "model_max_length": 77,
23
+ "pad_token": "<|endoftext|>",
24
+ "tokenizer_class": "CLIPTokenizer",
25
+ "unk_token": {
26
+ "__type": "AddedToken",
27
+ "content": "<|endoftext|>",
28
+ "lstrip": false,
29
+ "normalized": true,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
pose_diffusion/sdxl/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
pose_diffusion/sdxl/tokenizer_2/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pose_diffusion/sdxl/tokenizer_2/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "!",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
pose_diffusion/sdxl/tokenizer_2/tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "clean_up_tokenization_spaces": true,
12
+ "do_lower_case": true,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "<|endoftext|>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "errors": "replace",
22
+ "model_max_length": 77,
23
+ "pad_token": "!",
24
+ "tokenizer_class": "CLIPTokenizer",
25
+ "unk_token": {
26
+ "__type": "AddedToken",
27
+ "content": "<|endoftext|>",
28
+ "lstrip": false,
29
+ "normalized": true,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
pose_diffusion/sdxl/tokenizer_2/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
pose_diffusion/sdxl/unet/config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.19.0.dev0",
4
+ "act_fn": "silu",
5
+ "addition_embed_type": "text_time",
6
+ "addition_embed_type_num_heads": 64,
7
+ "addition_time_embed_dim": 256,
8
+ "attention_head_dim": [
9
+ 5,
10
+ 10,
11
+ 20
12
+ ],
13
+ "block_out_channels": [
14
+ 320,
15
+ 640,
16
+ 1280
17
+ ],
18
+ "center_input_sample": false,
19
+ "class_embed_type": null,
20
+ "class_embeddings_concat": false,
21
+ "conv_in_kernel": 3,
22
+ "conv_out_kernel": 3,
23
+ "cross_attention_dim": 2048,
24
+ "cross_attention_norm": null,
25
+ "down_block_types": [
26
+ "DownBlock2D",
27
+ "CrossAttnDownBlock2D",
28
+ "CrossAttnDownBlock2D"
29
+ ],
30
+ "downsample_padding": 1,
31
+ "dual_cross_attention": false,
32
+ "encoder_hid_dim": null,
33
+ "encoder_hid_dim_type": null,
34
+ "flip_sin_to_cos": true,
35
+ "freq_shift": 0,
36
+ "in_channels": 4,
37
+ "layers_per_block": 2,
38
+ "mid_block_only_cross_attention": null,
39
+ "mid_block_scale_factor": 1,
40
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
41
+ "norm_eps": 1e-05,
42
+ "norm_num_groups": 32,
43
+ "num_attention_heads": null,
44
+ "num_class_embeds": null,
45
+ "only_cross_attention": false,
46
+ "out_channels": 4,
47
+ "projection_class_embeddings_input_dim": 2816,
48
+ "resnet_out_scale_factor": 1.0,
49
+ "resnet_skip_time_act": false,
50
+ "resnet_time_scale_shift": "default",
51
+ "sample_size": 128,
52
+ "time_cond_proj_dim": null,
53
+ "time_embedding_act_fn": null,
54
+ "time_embedding_dim": null,
55
+ "time_embedding_type": "positional",
56
+ "timestep_post_act": null,
57
+ "transformer_layers_per_block": [
58
+ 1,
59
+ 2,
60
+ 10
61
+ ],
62
+ "up_block_types": [
63
+ "CrossAttnUpBlock2D",
64
+ "CrossAttnUpBlock2D",
65
+ "UpBlock2D"
66
+ ],
67
+ "upcast_attention": null,
68
+ "use_linear_projection": true
69
+ }
pose_diffusion/sdxl/vae/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.20.0.dev0",
4
+ "_name_or_path": "../sdxl-vae/",
5
+ "act_fn": "silu",
6
+ "block_out_channels": [
7
+ 128,
8
+ 256,
9
+ 512,
10
+ 512
11
+ ],
12
+ "down_block_types": [
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D",
16
+ "DownEncoderBlock2D"
17
+ ],
18
+ "force_upcast": true,
19
+ "in_channels": 3,
20
+ "latent_channels": 4,
21
+ "layers_per_block": 2,
22
+ "norm_num_groups": 32,
23
+ "out_channels": 3,
24
+ "sample_size": 1024,
25
+ "scaling_factor": 0.13025,
26
+ "up_block_types": [
27
+ "UpDecoderBlock2D",
28
+ "UpDecoderBlock2D",
29
+ "UpDecoderBlock2D",
30
+ "UpDecoderBlock2D"
31
+ ]
32
+ }
pose_diffusion/vae/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.18.0.dev0",
4
+ "_name_or_path": ".",
5
+ "act_fn": "silu",
6
+ "block_out_channels": [
7
+ 128,
8
+ 256,
9
+ 512,
10
+ 512
11
+ ],
12
+ "down_block_types": [
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D",
16
+ "DownEncoderBlock2D"
17
+ ],
18
+ "in_channels": 3,
19
+ "latent_channels": 4,
20
+ "layers_per_block": 2,
21
+ "norm_num_groups": 32,
22
+ "out_channels": 3,
23
+ "sample_size": 512,
24
+ "scaling_factor": 0.13025,
25
+ "up_block_types": [
26
+ "UpDecoderBlock2D",
27
+ "UpDecoderBlock2D",
28
+ "UpDecoderBlock2D",
29
+ "UpDecoderBlock2D"
30
+ ],
31
+ "force_upcast": false
32
+ }
qwenimage21/.gitattributes ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *.tfevents* filter=lfs diff=lfs merge=lfs -text
28
+ *.db* filter=lfs diff=lfs merge=lfs -text
29
+ *.ark* filter=lfs diff=lfs merge=lfs -text
30
+ **/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
31
+ **/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
32
+ **/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
33
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
34
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
35
+ *.gguf* filter=lfs diff=lfs merge=lfs -text
36
+ *.ggml filter=lfs diff=lfs merge=lfs -text
37
+ *.llamafile* filter=lfs diff=lfs merge=lfs -text
38
+ *.pt2 filter=lfs diff=lfs merge=lfs -text
39
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
40
+ *.npy filter=lfs diff=lfs merge=lfs -text
41
+ *.npz filter=lfs diff=lfs merge=lfs -text
42
+ *.pickle filter=lfs diff=lfs merge=lfs -text
43
+ *.pkl filter=lfs diff=lfs merge=lfs -text
44
+ *.tar filter=lfs diff=lfs merge=lfs -text
45
+ *.wasm filter=lfs diff=lfs merge=lfs -text
46
+ *.zst filter=lfs diff=lfs merge=lfs -text
47
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
48
+ "/processor/merges.txt" filter=lfs diff=lfs merge=lfs -text
49
+ "/processor/tokenizer.json" filter=lfs diff=lfs merge=lfs -text
50
+ "/processor/vocab.json" filter=lfs diff=lfs merge=lfs -text
51
+ "/assets/qr.png" filter=lfs diff=lfs merge=lfs -text
qwenimage21/LICENSE ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qwen RESEARCH LICENSE AGREEMENT
2
+
3
+ Qwen RESEARCH LICENSE AGREEMENT Release Date: September 20, 2026
4
+
5
+ By clicking to agree or by using or distributing any portion or element of the Qwen Materials, you will be deemed to have recognized and accepted the content of this Agreement, which is effective immediately.
6
+
7
+ 1. Definitions
8
+ a. This Qwen RESEARCH LICENSE AGREEMENT (this "Agreement") shall mean the terms and conditions for use, reproduction, distribution and modification of the Materials as defined by this Agreement.
9
+ b. "We" (or "Us") shall mean Hangzhou Tongyi Laboratory Technology Co., Ltd.
10
+ c. "You" (or "Your") shall mean a natural person or legal entity exercising the rights granted by this Agreement and/or using the Materials for any purpose and in any field of use.
11
+ d. "Third Parties" shall mean individuals or legal entities that are not under common control with us or you.
12
+ e. "Qwen" shall mean the large language models, diffusion models, and software and algorithms, consisting of trained model weights, parameters (including optimizer states), machine-learning model code, inference-enabling code, training-enabling code, fine-tuning enabling code and other elements of the foregoing distributed by us.
13
+ f. "Materials" shall mean, collectively, our proprietary Qwen and Documentation (and any portion thereof) made available under this Agreement.
14
+ g. "Source" form shall mean the preferred form for making modifications, including but not limited to model source code, documentation source, and configuration files.
15
+ h. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
16
+ i. "Non-Commercial" shall mean for research or evaluation purposes only.
17
+
18
+ 2. Grant of Rights
19
+ a. You are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under our intellectual property or other rights owned by us embodied in the Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the Materials FOR NON-COMMERCIAL PURPOSES ONLY.
20
+ b. You shall not use the Materials for any commercial purpose without obtaining a separate commercial license from us. If you wish to use the Materials commercially, you shall request a license from us at model-business@notice.qwencloud.com.
21
+
22
+ 3. Redistribution
23
+ Subject to Section 2 (Grant of Rights), you may distribute copies or make the Materials, or derivative works thereof, available as part of a product or service that contains any of them, with or without modifications, and in Source or Object form, provided that you meet the following conditions:
24
+ a. You shall give any other recipients of the Materials or derivative works a copy of this Agreement;
25
+ b. You shall cause any modified files to carry prominent notices stating that you changed the files;
26
+ c. You shall retain in all copies of the Materials that you distribute the following attribution notices within a "Notice" text file distributed as a part of such copies: "Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) 2026 Hangzhou Tongyi Laboratory Technology Co., Ltd. All Rights Reserved."; and
27
+ d. You may add your own copyright statement to your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of your modifications, or for any such derivative works as a whole, provided your use, reproduction, and distribution of the work otherwise complies with the terms and conditions of this Agreement.
28
+
29
+ 4. Rules of use
30
+ a. The Materials may be subject to export controls or restrictions in China, the United States or other countries or regions. You shall comply with applicable laws and regulations in your use of the Materials.
31
+ b. If you use the Materials or any outputs or results therefrom to create, train, fine-tune, or improve an AI model that is distributed or made available, you shall prominently display “Built with Qwen” or “Improved using Qwen” in the related product documentation.
32
+ c. You shall not use "Qwen" as the primary name or identifier of any derivative works or products; reasonable descriptive use (e.g., "fine-tuned from Qwen Image") is permitted.
33
+
34
+ 5. Intellectual Property
35
+ a. We retain ownership of all intellectual property rights in and to the Materials and derivatives made by or for us. Conditioned upon compliance with the terms and conditions of this Agreement, with respect to any derivative works and modifications of the Materials that are made by you, you are and will be the owner of such derivative works and modifications.
36
+ b. No trademark license is granted to use the trade names, trademarks, service marks, or product names of us, except as required to fulfill notice requirements under this Agreement or as required for reasonable and customary use in describing and redistributing the Materials.
37
+ c. If you commence a lawsuit or other proceedings (including a cross-claim or counterclaim in a lawsuit) against us or any entity alleging that the Materials or any output therefrom, or any part of the foregoing, infringe any intellectual property or other right owned or licensable by you, then all licenses granted to you under this Agreement shall terminate as of the date such lawsuit or other proceeding is commenced or brought.
38
+
39
+ 6. Disclaimer of Warranty and Limitation of Liability
40
+ a. We are not obligated to support, update, provide training for, or develop any further version of the Qwen Materials or to grant any license thereto.
41
+ b. THE MATERIALS ARE PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND INCLUDING WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE. WE MAKE NO WARRANTY AND ASSUME NO RESPONSIBILITY FOR THE SAFETY OR STABILITY OF THE MATERIALS AND ANY OUTPUT THEREFROM.
42
+ c. IN NO EVENT SHALL WE BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OR INABILITY TO USE THE MATERIALS OR ANY OUTPUT OF IT, NO MATTER HOW IT’S CAUSED.
43
+ d. You will defend, indemnify and hold harmless us from and against any claim by any third party arising out of or related to your use or distribution of the Materials.
44
+
45
+ 7. Survival and Termination.
46
+ a. The term of this Agreement shall commence upon your acceptance of this Agreement or access to the Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein.
47
+ b. We may terminate this Agreement if you breach any of the terms or conditions of this Agreement. Upon termination of this Agreement, you must delete and cease use of the Materials. Sections 6 and 8 shall survive the termination of this Agreement.
48
+
49
+ 8. Governing Law and Jurisdiction.
50
+ a. This Agreement and any dispute arising out of or relating to it will be governed by the laws of China, without regard to conflict of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement.
51
+ b. The People's Courts in Hangzhou City shall have exclusive jurisdiction over any dispute arising out of this Agreement.
52
+
53
+ 9. Other Terms and Conditions.
54
+ a. Any arrangements, understandings, or agreements regarding the Material not stated herein are separate from and independent of the terms and conditions of this Agreement. You shall request a separate license from us, if you use the Materials in ways not expressly agreed to in this Agreement.
55
+ b. We shall not be bound by any additional or different terms or conditions communicated by you unless expressly agreed.
qwenimage21/NOTICE ADDED
@@ -0,0 +1 @@
 
 
1
+ Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) 2026 Hangzhou Tongyi Laboratory Technology Co., Ltd. All Rights Reserved.
qwenimage21/README.md ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - ""
4
+ frameworks:
5
+ - ""
6
+ license: other
7
+ license_link: LICENSE
8
+ license_name: qwen-research
9
+ pipeline_tag: text-to-image
10
+ tags:
11
+ - diffusers
12
+ - qwen
13
+ - image-generation
14
+ - image-editing
15
+ - rgba
16
+ ---
17
+
18
+ <p align="center">
19
+ <img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/image2.1/logo.png" width="400"/>
20
+ </p>
21
+ <p align="center">
22
+ 🤖 <a href="https://modelscope.cn/models/Qwen/Qwen-Image-2.1">ModelScope</a>&nbsp;&nbsp;|
23
+ &nbsp;&nbsp;🤗 <a href="https://huggingface.co/Qwen/Qwen-Image-2.1">HuggingFace</a>&nbsp;&nbsp;|
24
+ &nbsp;&nbsp;📑 <a href="https://qwen.ai/blog?id=qwen-image-2.1">Blog</a>&nbsp;&nbsp;|
25
+ &nbsp;&nbsp;🖥️ <a href="https://huggingface.co/spaces/Qwen/Qwen-Image-2.1">Demo</a>&nbsp;&nbsp;|
26
+ &nbsp;&nbsp;🫨 <a href="https://discord.gg/BEYSk3pkSu">Discord</a>&nbsp;&nbsp;|
27
+ &nbsp;&nbsp;💬 <a href="https://modelscope.cn/models/Qwen/Qwen-Image-2.1/file/view/master/assets%2Fqr.png">WeChat</a>
28
+ </p>
29
+
30
+ ## Introduction
31
+
32
+ We are excited to open-source **Qwen-Image-2.1**, a unified text-to-image generation and image editing model in the Qwen family. With just **7B parameters in its visual generation component** (32 Single-Stream DiT layers), Qwen-Image-2.1 balances generation quality, inference efficiency, and versatility.
33
+
34
+ Four key improvements define this release:
35
+
36
+ - **Compact and Efficient** — A lightweight architecture with mixed-granularity attention and prefix KV cache reuse delivers strong image quality at low computational cost.
37
+ - **Native Transparency, Unified Creation and Editing** — Generate regular or transparent (RGBA) images from text, edit transparent layers, and extract subjects from photographs—all in one model.
38
+ - **Versatile Editing** — Support up to **10 reference images**, specify local edits via circles, painted annotations, or separate masks, and preserve identity for people and products.
39
+ - **Realistic Textures and Refined Aesthetics** — Improved typography, portrait lighting, and fine details for more visually compelling results.
40
+
41
+ <p align="center">
42
+ <img src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen-Image/image2.1/images/example-01.png" width="100%"/>
43
+ </p>
44
+
45
+ For more details, see the [GitHub repo](https://github.com/QwenLM/Qwen-Image-2.1) and [Blog](https://qwen.ai/blog?id=qwen-image-2.1).
46
+
47
+ ## Quick Start
48
+
49
+ ### Installation
50
+
51
+ ```bash
52
+ pip install torch>=2.4.0
53
+ pip install transformers>=5.17
54
+ pip install git+https://github.com/huggingface/diffusers
55
+ pip install accelerate pillow
56
+ ```
57
+
58
+ ### Text-to-Image
59
+
60
+ ```python
61
+ import torch
62
+ from diffusers import QwenImage21Pipeline
63
+
64
+ pipe = QwenImage21Pipeline.from_pretrained(
65
+ "Qwen/Qwen-Image-2.1", torch_dtype=torch.bfloat16
66
+ ).to("cuda")
67
+
68
+ image = pipe(
69
+ prompt="A neon shop sign that reads \"QWEN IMAGE 2.1\", rainy night, reflections on wet pavement",
70
+ width=2048, height=2048,
71
+ num_inference_steps=40,
72
+ generator=torch.Generator("cuda").manual_seed(42),
73
+ ).images[0]
74
+
75
+ image.save("t2i_example.png")
76
+ ```
77
+
78
+ ### Image Editing
79
+
80
+ ```python
81
+ import torch
82
+ from PIL import Image
83
+ from diffusers import QwenImage21Pipeline
84
+
85
+ pipe = QwenImage21Pipeline.from_pretrained(
86
+ "Qwen/Qwen-Image-2.1", torch_dtype=torch.bfloat16
87
+ ).to("cuda")
88
+
89
+ input_image = Image.open("input.png")
90
+
91
+ image = pipe(
92
+ prompt="Change the background to a sunset beach",
93
+ image=input_image,
94
+ num_inference_steps=40,
95
+ generator=torch.Generator("cuda").manual_seed(42),
96
+ ).images[0]
97
+
98
+ image.save("edit_example.png")
99
+ ```
100
+
101
+ ### Transparent Image Generation (RGBA)
102
+
103
+ Use the recommended prompt format for transparent images:
104
+
105
+ ```python
106
+ image = pipe(
107
+ prompt="This is an RGBA image with transparency. A cute cartoon dragon sticker. The image has alpha channel and the background is transparent.",
108
+ width=2048, height=2048,
109
+ num_inference_steps=40,
110
+ generator=torch.Generator("cuda").manual_seed(42),
111
+ ).images[0]
112
+
113
+ image.save("transparent_example.png")
114
+ ```
115
+
116
+ ### Supported Aspect Ratios
117
+
118
+ ```python
119
+ aspect_ratios = {
120
+ "1:1": (2048, 2048),
121
+ "4:3": (2400, 1792),
122
+ "3:4": (1792, 2400),
123
+ "3:2": (2528, 1696),
124
+ "2:3": (1696, 2528),
125
+ "16:9": (2752, 1536),
126
+ "9:16": (1536, 2752),
127
+ }
128
+ ```
129
+
130
+ ### Memory Optimization
131
+
132
+ ```python
133
+ pipe = QwenImage21Pipeline.from_pretrained(
134
+ "Qwen/Qwen-Image-2.1", torch_dtype=torch.bfloat16
135
+ )
136
+ pipe.enable_model_cpu_offload()
137
+ ```
138
+
139
+ ## Showcase
140
+
141
+ <p align="center">
142
+ <img src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen-Image/image2.1/images/example-04.png" width="30%"/>
143
+ <img src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen-Image/image2.1/images/example-05.png" width="30%"/>
144
+ <img src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen-Image/image2.1/images/example-06.png" width="30%"/>
145
+ </p>
146
+ <p align="center"><em>Native transparent image generation</em></p>
147
+
148
+ <p align="center">
149
+ <img src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen-Image/image2.1/images/example-15.png" width="100%"/>
150
+ </p>
151
+ <p align="center"><em>Group photograph generated from six portrait references</em></p>
152
+
153
+ <p align="center">
154
+ <img src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen-Image/image2.1/images/example-43.png" width="48%"/>
155
+ <img src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen-Image/image2.1/images/example-44.png" width="48%"/>
156
+ </p>
157
+ <p align="center"><em>Text rendering</em></p>
158
+
159
+ ## License
160
+
161
+ This model is licensed under the [Qwen Research License Agreement](./LICENSE).
162
+
qwenimage21/assets/qr.png ADDED

Git LFS Details

  • SHA256: 9c3465cbd9fe1bdd974b91ef472890b98e43e9111f53477b5e8c2224761a2829
  • Pointer size: 132 Bytes
  • Size of remote file: 3.17 MB