Commit
•
b7ae24b
1
Parent(s):
909e991
Upload folder using huggingface_hub
Browse files- 2690160.jpeg +0 -0
- 2690163.jpeg +0 -0
- 2690164.jpeg +0 -0
- 2690166.jpeg +0 -0
- 2690167.jpeg +0 -0
- README.md +87 -0
- stereoscopic_parallel_v1.0.safetensors +3 -0
2690160.jpeg
ADDED
2690163.jpeg
ADDED
2690164.jpeg
ADDED
2690166.jpeg
ADDED
2690167.jpeg
ADDED
README.md
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: bespoke-lora-trained-license
|
4 |
+
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Rent&allowDerivatives=True&allowDifferentLicense=True
|
5 |
+
tags:
|
6 |
+
- text-to-image
|
7 |
+
- stable-diffusion
|
8 |
+
- lora
|
9 |
+
- diffusers
|
10 |
+
- template:sd-lora
|
11 |
+
- concept
|
12 |
+
- portrait
|
13 |
+
- parallelview
|
14 |
+
- stereoscopic
|
15 |
+
- crossview
|
16 |
+
|
17 |
+
base_model: runwayml/stable-diffusion-v1-5
|
18 |
+
instance_prompt:
|
19 |
+
widget:
|
20 |
+
- text: 'monkey king,
|
21 |
+
masterpiece, high detail, 8k, high detailed skin, 8k uhd, high quality
|
22 |
+
'
|
23 |
+
output:
|
24 |
+
url: >-
|
25 |
+
2690164.jpeg
|
26 |
+
- text: 'a young lady holding a cat, full body
|
27 |
+
masterpiece, high detail, 8k, high detailed skin, 8k uhd, high quality
|
28 |
+
'
|
29 |
+
output:
|
30 |
+
url: >-
|
31 |
+
2690163.jpeg
|
32 |
+
- text: 'a young woman with glasses in campus, half body,
|
33 |
+
masterpiece, high detail, 8k, high detailed skin, 8k uhd, high quality
|
34 |
+
'
|
35 |
+
output:
|
36 |
+
url: >-
|
37 |
+
2690160.jpeg
|
38 |
+
- text: 'a young man in a park,
|
39 |
+
masterpiece, high detail, 8k, high detailed skin, 8k uhd, high quality
|
40 |
+
'
|
41 |
+
output:
|
42 |
+
url: >-
|
43 |
+
2690167.jpeg
|
44 |
+
- text: 'a princess in front of a castle, half body
|
45 |
+
masterpiece, high detail, 8k, high detailed skin, 8k uhd, high quality
|
46 |
+
'
|
47 |
+
output:
|
48 |
+
url: >-
|
49 |
+
2690166.jpeg
|
50 |
+
|
51 |
+
---
|
52 |
+
|
53 |
+
# Stereoscopic Portrait - 3D 立体肖像
|
54 |
+
|
55 |
+
<Gallery />
|
56 |
+
|
57 |
+
|
58 |
+
|
59 |
+
([CivitAI](https://civitai.com/models/152741))
|
60 |
+
|
61 |
+
## Model description
|
62 |
+
|
63 |
+
<p>This is an experimental project designed to produce <span style="color:rgb(253, 126, 20)">Stereoscopic Portraits</span>. It supports both <span style="color:rgb(253, 126, 20)">Parallel-view</span> and <span style="color:rgb(253, 126, 20)">Cross-view</span> modes, corresponding to two downloadable versions.</p><p><strong>Performance:</strong></p><p>When used as recommended, the subject of the portrait achieves a relatively high success rate. The background, in contrast, might require multiple attempts and might achieve a lower success rate.</p><p><strong>User Guide:</strong> For optimal results and image quality, strictly follow the procedure outlined below:</p><ul><li><p><strong>Checkpoint:</strong> Realistic Vision V5.1</p></li><li><p><strong>Textual Inversion:</strong> ng_deepnegative_v1_75t</p></li><li><p><strong>Positive prompts:</strong> {prompt}, masterpiece, high detail, 8k, high detailed skin, 8k uhd, high quality</p></li><li><p><strong>Negative prompts:</strong> ugly, disfigured, deformed, worst quality, low quality, ng_deepnegative_v1_75t</p></li><li><p><strong>LoRA Weight:</strong> 0.8-1.0</p></li><li><p><strong>Image Dimensions:</strong> Width: 832, Height: 560</p></li><li><p><strong>Optional:</strong> Use Hires. fix to enhance image quality with a Denoising strength of 0.3.</p></li></ul><p><strong>Note:</strong></p><ul><li><p>Using the Realistic Vision V5.1 in tandem with ng_deepnegative_v1_75t can significantly improve the success rate and generated image quality. See the "Suggested Resources" section below for more details.</p></li><li><p>This LoRA is specifically designed for generating Stereoscopic Portraits with a human subject. Without a human subject, a 3D effect cannot be achieved.</p></li><li><p>For detailed information on Stereoscopy, refer to the Wikipedia entry titled "<a target="_blank" rel="ugc" href="https://en.wikipedia.org/wiki/Stereoscopy">Stereoscopy</a>".</p></li></ul><hr /><p>这是一个实验性项目,用来生成 <span style="color:rgb(253, 126, 20)">立体视觉肖像(Stereoscopic Portrait)</span>,支持 <span style="color:rgb(253, 126, 20)">Parallel-view</span> 与 <span style="color:rgb(253, 126, 20)">Cross-view</span> 两种模式(对应两个下载版本)。</p><p>在按照推荐方法使用的前提下,人物主体可以获得比较高的成功率,背景的成功率相较人物主体要低一些,有时需要多次尝试。</p><p><strong>使用说明:</strong>(严格按照以下流程生成图片,可以获得比较高的成功率与图像质量。)</p><ul><li><p><strong>模型(checkpoint):</strong>Realistic Vision V5.1</p></li><li><p><strong>嵌入式(Textual Inversion):</strong>ng_deepnegative_v1_75t</p></li><li><p><strong>正面提示词:</strong>{prompt}, masterpiece, high detail, 8k, high detailed skin, 8k uhd, high quality</p></li><li><p><strong>负面提示词:</strong>ugly, disfigured, deformed, worst quality, low quality, ng_deepnegative_v1_75t</p></li><li><p><strong>LoRA 权重:</strong>0.8-1.0</p></li><li><p><strong>图像尺寸:</strong>宽度:832,高度:560</p></li><li><p><strong>可选:</strong>使用高清修复(Hires. fix)提升图像质量,重绘幅度(Denoising strength)0.3</p></li></ul><p><strong><em>注意:</em></strong></p><ul><li><p>配合使用 Realistic Vision V5.1 与 ng_deepnegative_v1_75t 可以极大提高成功率与生成图像质量。具体见下方“Suggested Resources”。</p></li><li><p>此 LoRA 只用于生成带有人物主体的立体视觉肖像图,如果不带有人物主体则无法产生立体效果。</p></li><li><p>关于立体视觉(Stereoscopy)的具体说明,参见维基��科“<a target="_blank" rel="ugc" href="https://zh.wikipedia.org/zh-cn/%E7%AB%8B%E4%BD%93%E5%9B%BE">立体图</a>”词条。</p></li></ul>
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
## Download model
|
68 |
+
|
69 |
+
Weights for this model are available in Safetensors format.
|
70 |
+
|
71 |
+
[Download](/lordjia/stereoscopic-portrait-3d-li-ti-xiao-xiang/tree/main) them in the Files & versions tab.
|
72 |
+
|
73 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
74 |
+
|
75 |
+
```py
|
76 |
+
from diffusers import AutoPipelineForText2Image
|
77 |
+
import torch
|
78 |
+
|
79 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
|
80 |
+
pipeline.load_lora_weights('lordjia/stereoscopic-portrait-3d-li-ti-xiao-xiang', weight_name='stereoscopic_parallel_v1.0.safetensors')
|
81 |
+
image = pipeline('a princess in front of a castle, half body
|
82 |
+
masterpiece, high detail, 8k, high detailed skin, 8k uhd, high quality
|
83 |
+
').images[0]
|
84 |
+
```
|
85 |
+
|
86 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
87 |
+
|
stereoscopic_parallel_v1.0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f44fd132c6f79fc145269b2d7c6d239a78e60770b3b96aef69fa4336e16a968
|
3 |
+
size 9548064
|