Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
pipeline_tag: text-to-image
|
4 |
+
---
|
5 |
+
|
6 |
+
# Controlling Structure and Appearance for SSD-1B without Guidance
|
7 |
+
|
8 |
+
The CtrlXStableDiffusionXLPipeline has been modified, since it had way too much TODO lines. Refiner phase is removed.
|
9 |
+
|
10 |
+
Requires 8GB VRAM.
|
11 |
+
|
12 |
+
## Setup
|
13 |
+
|
14 |
+
```
|
15 |
+
pip install accelerate diffusers gradio torch safetensors transformers
|
16 |
+
```
|
17 |
+
|
18 |
+
## Inference
|
19 |
+
|
20 |
+
```python
|
21 |
+
python run_ctrlx.py --num_inference_steps 20 --structure_image images_ctrlx/horse__point_cloud.jpg --appearance_image images_ctrlx/horse.jpg --prompt "a photo of a horse standing on grass" --structure_prompt "3D point cloud of a horse"
|
22 |
+
```
|
23 |
+
|
24 |
+
## Disclaimer
|
25 |
+
|
26 |
+
All code belongs to [Jordan Lin](https://github.com/genforce/ctrl-x), the models weight to [Segmind](https://huggingface.co/segmind/SSD-1B).
|