Downloads · 30 days
17
4% of all-time downloads
strangerzonehf/Bg-Bag
Bg-Bag is a text-to-image model from strangerzonehf. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
Downloads · 30 days
17
4% of all-time downloads
All-time downloads
379
Public
Repo size
618 MB
Likes
4
Public
Click a slice to open those files.
.safetensors613 MB · 99%
From the Hugging Face model README

Image Processing Parameters
| Parameter | Value | Parameter | Value |
|---|---|---|---|
| LR Scheduler | constant | Noise Offset | 0.03 |
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
| Network Dim | 64 | Multires Noise Iterations | 10 |
| Network Alpha | 32 | Repeat & Steps | 16 & 2230 |
| Epoch | 14 | Save Every N Epochs | 1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 25
| Dimensions | Aspect Ratio | Recommendation |
|---|---|---|
| 1280 x 832 | 3:2 | Best |
| 1024 x 1024 | 1:1 | Default |
import torch
from pipelines import DiffusionPipeline
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "strangerzonehf/Bg-Bag"
trigger_word = "Ctoon++"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
You should use Bg bag to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.