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
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,14 +2,13 @@
|
|
| 2 |

|
| 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
|
|
|
|
| 2 |

|
| 3 |
|
| 4 |
**ControlNet trained on top of LibreFLUX**
|
|
|
|
| 5 |
- Uses Attention Masking
|
| 6 |
- Inference runs with CFG
|
| 7 |
- Trained on 165K segmented images from Meta's [SA1B Dataset](https://ai.meta.com/datasets/segment-anything/)
|
| 8 |
- Trained using: [https://github.com/NeuralVFX/LibreFLUX-ControlNet](https://github.com/NeuralVFX/LibreFLUX-ControlNet)
|
| 9 |
- Base model used: [https://huggingface.co/jimmycarter/LibreFLUX](https://huggingface.co/jimmycarter/LibreFLUX)
|
| 10 |
- Inference code adapted from: [https://github.com/bghira/SimpleTuner](https://github.com/bghira/SimpleTuner)
|
| 11 |
+
|
| 12 |
# Compatibility
|
| 13 |
```py
|
| 14 |
pip install -U diffusers==0.32.0
|