Instructions to use prithivMLmods/FLUX.2-Klein-Object-Remover-Bbox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/FLUX.2-Klein-Object-Remover-Bbox with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-9B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/FLUX.2-Klein-Object-Remover-Bbox") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
upload flux.2-klein-object-remover-bbox model files ✅
#1
by prithivMLmods - opened
- FLUX.2-Klein-Object-Remover-Bbox-5000.safetensors +3 -0
- ckpts/FLUX.2-Klein-Object-Remover-Bbox-1000.safetensors +3 -0
- ckpts/FLUX.2-Klein-Object-Remover-Bbox-2000.safetensors +3 -0
- ckpts/FLUX.2-Klein-Object-Remover-Bbox-3000.safetensors +3 -0
- ckpts/FLUX.2-Klein-Object-Remover-Bbox-4000.safetensors +3 -0
- ckpts/FLUX.2-Klein-Object-Remover-Bbox-5000.safetensors +3 -0
FLUX.2-Klein-Object-Remover-Bbox-5000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3b728e744b09ddf5ea20142f5e559162eabb243f3744298165a7de1ecf5f903
|
| 3 |
+
size 87070328
|
ckpts/FLUX.2-Klein-Object-Remover-Bbox-1000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3eb2bc79b0a6a84dfb88ad68c3f267d3f1edb64bd9a5cbcadbe6be29eb4e0174
|
| 3 |
+
size 87070328
|
ckpts/FLUX.2-Klein-Object-Remover-Bbox-2000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79cf01b413f38eeefc3d7b9bf9e72f7310eccf42f86e3245348baf08919ca44c
|
| 3 |
+
size 87070328
|
ckpts/FLUX.2-Klein-Object-Remover-Bbox-3000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:681cd73b37fe3fa3d3b8eb1d79c42ef55a3918d4ead7aad423787264f7105fa3
|
| 3 |
+
size 87070328
|
ckpts/FLUX.2-Klein-Object-Remover-Bbox-4000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fc9396c418274e67c393aad6b1a649aa5b846b754805bc63c99aa377bbba84a
|
| 3 |
+
size 87070328
|
ckpts/FLUX.2-Klein-Object-Remover-Bbox-5000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3b728e744b09ddf5ea20142f5e559162eabb243f3744298165a7de1ecf5f903
|
| 3 |
+
size 87070328
|