first commit
Browse files- README.md +11 -0
- config.json +38 -0
- diffusion_flax_model.msgpack +3 -0
README.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
4 |
+
|
5 |
+
This is a controlnet for [Waifu Diffusion 1.5 beta 2](https://huggingface.co/waifu-diffusion/wd-1-5-beta2) which aims to guide image generation by conditioning outputs with images from a common category of the training target examples. The current checkpoint has been trained for approx. 100k steps on a filtered subset of (Danbooru 2021)[https://gwern.net/danbooru2021] using artists as the conditioned category with the aim of learning robust style transfer from an image example.
|
6 |
+
|
7 |
+
Major limitations:
|
8 |
+
|
9 |
+
- The current checkpoint was trained on 768x768 crops without aspect ratio checkpointing. Loss in coherence for non-square aspect ratios can be expected.
|
10 |
+
- The training dataset is extremely noisy and used without filtering stylistic outliers from within each category, so performance may be less than ideal.
|
11 |
+
- The Waifu Diffusion base model is a hybrid anime/photography model, and can unpredictably jump between those modalities.
|
12 |
+
- As styling is incredibly sensitive to divergences in model checkpoints, the capabilities of this controlnet are not expected to predictably apply to other SD 2.X checkpoints.
|
13 |
+
|
14 |
+
Waifu Diffusion 1.5 beta 2 is licensed under (Fair AI Public License 1.0-SD)[https://freedevproject.org/faipl-1.0-sd/]. This controlnet imposes no restrictions beyond the MIT license, but it cannot be used independently of a base model.
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "FlaxControlNetModel",
|
3 |
+
"_diffusers_version": "0.16.0.dev0",
|
4 |
+
"attention_head_dim": [
|
5 |
+
5,
|
6 |
+
10,
|
7 |
+
20,
|
8 |
+
20
|
9 |
+
],
|
10 |
+
"block_out_channels": [
|
11 |
+
320,
|
12 |
+
640,
|
13 |
+
1280,
|
14 |
+
1280
|
15 |
+
],
|
16 |
+
"conditioning_embedding_out_channels": [
|
17 |
+
16,
|
18 |
+
32,
|
19 |
+
96,
|
20 |
+
256
|
21 |
+
],
|
22 |
+
"controlnet_conditioning_channel_order": "rgb",
|
23 |
+
"cross_attention_dim": 1024,
|
24 |
+
"down_block_types": [
|
25 |
+
"CrossAttnDownBlock2D",
|
26 |
+
"CrossAttnDownBlock2D",
|
27 |
+
"CrossAttnDownBlock2D",
|
28 |
+
"DownBlock2D"
|
29 |
+
],
|
30 |
+
"dropout": 0.0,
|
31 |
+
"flip_sin_to_cos": true,
|
32 |
+
"freq_shift": 0,
|
33 |
+
"in_channels": 4,
|
34 |
+
"layers_per_block": 2,
|
35 |
+
"only_cross_attention": false,
|
36 |
+
"sample_size": 32,
|
37 |
+
"use_linear_projection": true
|
38 |
+
}
|
diffusion_flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:339b3dd18e3c5a477089d057e2263eeca6e121a4cd08531e34c7ac79f8cabc68
|
3 |
+
size 1456925250
|