Instructions to use neuralvfx/LibreFlux-SAM-ControlNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use neuralvfx/LibreFlux-SAM-ControlNet with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("neuralvfx/LibreFlux-SAM-ControlNet", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,9 +11,22 @@ base_model: jimmycarter/LibreFLUX
|
|
| 11 |
|
| 12 |
This model/pipeline is the product of my [LibreFlux ControlNet training repo](https://github.com/NeuralVFX/LibreFLUX-ControlNet), which uses [LibreFLUX](https://huggingface.co/jimmycarter/LibreFLUX) as the underlying Transformer model for the ControlNet. For the dataset, I auto labeled 165K images from the SA1B dataset and trained for 1 epoch. I've tested using this ControlNet model as a base for transfer learning to less generic datasets, the results are good!
|
| 13 |
|
| 14 |
-
#
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
# How does this relate to LibreFLUX?
|
| 19 |
- Base model is [LibreFLUX](https://huggingface.co/jimmycarter/LibreFLUX)
|
|
|
|
| 11 |
|
| 12 |
This model/pipeline is the product of my [LibreFlux ControlNet training repo](https://github.com/NeuralVFX/LibreFLUX-ControlNet), which uses [LibreFLUX](https://huggingface.co/jimmycarter/LibreFLUX) as the underlying Transformer model for the ControlNet. For the dataset, I auto labeled 165K images from the SA1B dataset and trained for 1 epoch. I've tested using this ControlNet model as a base for transfer learning to less generic datasets, the results are good!
|
| 13 |
|
| 14 |
+
# Showcases
|
| 15 |
+
<table style="width:100%; table-layout:fixed;">
|
| 16 |
+
<tr>
|
| 17 |
+
<td><img src="./examples/resized_kitten_seg.png" ></td>
|
| 18 |
+
<td><img src="./examples/resized_kitten.png" ></td>
|
| 19 |
+
</tr>
|
| 20 |
+
<tr>
|
| 21 |
+
<td><img src="./examples/resized_dread_girl_seg.png" ></td>
|
| 22 |
+
<td><img src="./examples/resized_dread_girl.png" ></td>
|
| 23 |
+
</tr>
|
| 24 |
+
<tr>
|
| 25 |
+
<td><img src="./examples/resized_house_seg.png" ></td>
|
| 26 |
+
<td><img src="./examples/resized_house.png" ></td>
|
| 27 |
+
</tr>
|
| 28 |
+
</table>
|
| 29 |
+
|
| 30 |
|
| 31 |
# How does this relate to LibreFLUX?
|
| 32 |
- Base model is [LibreFLUX](https://huggingface.co/jimmycarter/LibreFLUX)
|