Update README.md
Browse files
README.md
CHANGED
|
@@ -3,23 +3,20 @@
|
|
| 3 |
|
| 4 |
**ControlNet trained on top of LibreFLUX**
|
| 5 |
|
| 6 |
-
Uses Attention Masking
|
| 7 |
-
Inference runs with CFG
|
| 8 |
-
Trained on 165K segmented images from Meta's [SA1B Dataset](https://ai.meta.com/datasets/segment-anything/)
|
| 9 |
-
Trained using: [https://github.com/NeuralVFX/LibreFLUX-ControlNet](https://github.com/NeuralVFX/LibreFLUX-ControlNet)
|
| 10 |
-
Base model used: [https://huggingface.co/jimmycarter/LibreFLUX](https://huggingface.co/jimmycarter/LibreFLUX)
|
| 11 |
-
Inference code adapted from: [https://github.com/bghira/SimpleTuner](https://github.com/bghira/SimpleTuner)
|
| 12 |
-
|
| 13 |
-
|
| 14 |
# Compatibility
|
| 15 |
-
|
| 16 |
```py
|
| 17 |
pip install -U diffusers==0.32.0
|
| 18 |
pip install -U "transformers @ git+https://github.com/huggingface/transformers@e15687fffe5c9d20598a19aeab721ae0a7580f8a"
|
| 19 |
```
|
| 20 |
|
| 21 |
# Load Pipeline
|
| 22 |
-
|
| 23 |
```py
|
| 24 |
import torch
|
| 25 |
from diffusers import DiffusionPipeline
|
|
@@ -39,7 +36,6 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
| 39 |
```
|
| 40 |
|
| 41 |
# Inference
|
| 42 |
-
|
| 43 |
```py
|
| 44 |
from PIL import Image
|
| 45 |
# Load Control Image
|
|
|
|
| 3 |
|
| 4 |
**ControlNet trained on top of LibreFLUX**
|
| 5 |
|
| 6 |
+
- Uses Attention Masking
|
| 7 |
+
- Inference runs with CFG
|
| 8 |
+
- Trained on 165K segmented images from Meta's [SA1B Dataset](https://ai.meta.com/datasets/segment-anything/)
|
| 9 |
+
- Trained using: [https://github.com/NeuralVFX/LibreFLUX-ControlNet](https://github.com/NeuralVFX/LibreFLUX-ControlNet)
|
| 10 |
+
- Base model used: [https://huggingface.co/jimmycarter/LibreFLUX](https://huggingface.co/jimmycarter/LibreFLUX)
|
| 11 |
+
- Inference code adapted from: [https://github.com/bghira/SimpleTuner](https://github.com/bghira/SimpleTuner)
|
| 12 |
+
-
|
|
|
|
| 13 |
# Compatibility
|
|
|
|
| 14 |
```py
|
| 15 |
pip install -U diffusers==0.32.0
|
| 16 |
pip install -U "transformers @ git+https://github.com/huggingface/transformers@e15687fffe5c9d20598a19aeab721ae0a7580f8a"
|
| 17 |
```
|
| 18 |
|
| 19 |
# Load Pipeline
|
|
|
|
| 20 |
```py
|
| 21 |
import torch
|
| 22 |
from diffusers import DiffusionPipeline
|
|
|
|
| 36 |
```
|
| 37 |
|
| 38 |
# Inference
|
|
|
|
| 39 |
```py
|
| 40 |
from PIL import Image
|
| 41 |
# Load Control Image
|