LottePeisch commited on
Commit
edcd350
·
1 Parent(s): 1f310ce

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -29
README.md CHANGED
@@ -8,41 +8,29 @@ tags:
8
  - art
9
  ---
10
 
11
- This repository is for the diffusers port of 2dn by Advokat, mainly so InvokeAI users can connect to the diffuser through the repo, which is preferable for remote users like myself. While putting it together, I decided to play around with scheduler settings, and learned a few things about how diffusers behave that was really fun and cool. The result isn't so much better as it is *different*, allowing you to another perspective of this already gorgeous model.
12
 
13
- **Original Author: Advokat**
14
-
15
- For checkpoints and a more detailed description, visit the original at CivitAI:
16
- https://civitai.com/models/4807/2dn
17
-
18
- **Changes made by me:**
19
- - Converted to diffuser format from the original checkpoint/safetensor on CivitAI.
20
- - I've noticed that not all diffusers made from checkpoints function the same as a diffuser as they do a checkpoint. At low resolutions, the checkpoint and the diffuser make nearly the exact same image with the same settings. However, when you start moving into higher resolution territory with or without high res options, they start to differ. Not in a bad way, the model is still solid and still performs well, but in a different way, as if the diffuser format is exploring a slightly different space in the model.
21
- - Switched out the default scheduler for EulerAncestralDiscreteScheduler
22
- - I find it to have the best tradeoff results between speed and accuracy/quality. If you set your sampler to Euler_A ( or k_euler_a in InvokeAI), it should *FLY* like the wind and create awesome images at just 20-30 steps.
23
-
24
- **Recommended sampler:** Euler_A
25
 
26
- **Recommended CFG:** 7-15
27
 
28
- **Recommended Steps:** 20-30
29
 
30
- Works well with high res fix, but can also create direct 1024x768 images. Below example images were generated in InvokeAI 2.3.1.post2 (using Invoke prompt syntax), with high res optimization set at 0.75 directly to a 960x1280px image. No inpainting, no editing other than to add the text.
31
 
32
- **"a ("creepy","cute").blend(0.30,0.70)+ (cartoon)++ twentysomething african-american female necromancer+ royalty, professional++ (acrylic painting)++, (best quality, masterpiece, insane detail)++, (curated on ikon images, trending on dribble)++, (colorful pose), (beautiful surroundings, stunning setting)++, ("emo","goth").blend(0.85,0.15)+, (celestial, esoteric)++, (wearing breeches)+, (in an ossuary)++, (orange-, yellow-, pastel green, pastel red, neon blue)+, (neon)+, (pop-surrealist)++**
33
-
34
- **[[(bad hands)++, amateur+, unprofessional+, text, writing, watermark, blurry, (bad art)+, nudity, poorly drawn, (bad composition)+, child, childlike, ugly, tiling, lacklustre, beginner+, deformed, (extra digits)+, poorly drawn, (broken fingers), (mangled fingers), (too many fingers), (mangled hands), (extra limbs)]]"**
35
-
36
- **-s 30 -S 1472867700 -W 960 -H 1280 -C 11 -A k_euler_a --hires -f 0.75**
37
-
38
- ![Original Portrait Example](https://huggingface.co/LottePeisch/2dn/resolve/main/2dnCkptPersonEx.png)
39
- ![Updated Diffusers Example](https://huggingface.co/LottePeisch/2dn/resolve/main/2dnDiffusersPersonEx.png)
40
 
41
- **"a antique desk in front of an open window with a bouquet of wildflower and anemone flowers in a vase, professional++ (watercolor lithograph)+, (best quality, masterpiece, insane detail)++, (trending on artstation hq, curated on ikon images)++, (stunning setting, beautiful surroundings)++, (green, bright red, bleached pink, bleached purple, copper patina)+, (glitter)+, (popart)++**
 
42
 
43
- **[[amateur+, ugly+, unprofessional+, text, writing, watermark, blurry+, (bad art)+, (poorly drawn)+, (bad composition)+, tiling, cluttered, chaotic, busy, lacklustre, beginner+]]"**
44
 
45
- **-s 30 -S 1472867700 -W 960 -H 1280 -C 11 -A k_euler_a --hires -f 0.75**
 
 
 
46
 
47
- ![Original Floral and Furniture Example](https://huggingface.co/LottePeisch/2dn/resolve/main/2dnCkptFloralEx.png)
48
- ![Updated Diffusers Example](https://huggingface.co/LottePeisch/2dn/resolve/main/2dnDiffusersFloralEx.png)
 
8
  - art
9
  ---
10
 
11
+ This repository is for the diffusers port of 2dn by Advokat, converted into diffuser format specifucally for users of InvokeAI, with the following changes:
12
 
13
+ - Changed the scheduler to EulerAncestralDiscreteScheduler, works very well with Euler_A.
14
+ - Updated the text_encoder config.json file setting num_hidden_layers to 11 instead of the default 12. This is the equivalent of 'Clip Skp 2' in Auto1111 as I understand it and have tested it. Please let me know on the InvokeAI Discord if you encounter issues.
15
+ - Don't expect it to build the exact same image from the exact same seed as you would in Auto. Invoke and Auto are very different from another, and diffusers are even more different. You should, however, get some awesome images.
16
+ - I'm sharing this because diffusers are amazing and I think more people should use them. ;)
17
+ - You don't need to use as heavily weighted quality tags for this version. Too much may even make the image worse.
 
 
 
 
 
 
 
18
 
19
+ Example Prompts:
20
 
21
+ a delightful desert on an alien planet featuring a meandering dry riverbed, (best quality, absurdres, animated cartoon, cartooncore, trending on behance hd, masterpiece, detailed), (phosphorescent desert cave paintings or markings)+, (a deep space sky featuring a glowing comet)+, (duotone color scheme)+, amber, blue
22
 
23
+ a fair-skinned solo goth woman exploring castle ruins, (best quality, absurdres, animated cartoon, cartooncore, trending on behance hd, masterpiece, detailed), wearing oversized cream sweater, bow belt, boots, two-toned pastel turquoise hair in a half-up twisted bun, (celestial, occult, esoteric), (rich color palette)+, pastel orange, pale green
24
 
25
+ **Original Author: Advokat**
 
 
 
 
 
 
 
26
 
27
+ For checkpoints and a more detailed description, visit the original at CivitAI:
28
+ https://civitai.com/models/4807/2dn
29
 
30
+ Here are some sample images.
31
 
32
+ ![Sample Image](https://huggingface.co/LottePeisch/2dn-Diffusers/resolve/main/000010.53348fbc.397191376.postprocessed.png)
33
+ ![Sample Image](https://huggingface.co/LottePeisch/2dn-Diffusers/resolve/main/000224.bd466033.791141696.postprocessed.png)
34
+ ![Sample Image](https://huggingface.co/LottePeisch/2dn-Diffusers/resolve/main/000234.e9abd1ba.597852706.postprocessed.png)
35
+ ![Sample Image](https://huggingface.co/LottePeisch/2dn-Diffusers/resolve/main/000266.2325ec91.2368472398.postprocessed.png)
36