CoolFace
Modelpublic

strangerzonehf/Cardboard-v2-Flux

sourceHugging Faceotherupdated 1y agoView on Hugging Face
4likes18downloads
Model Card

Cv2.png

Cardboard-v2-Flux

<Gallery />

Model description for Cardboard-v2-Flux

Image Processing Parameters

ParameterValueParameterValue
LR SchedulerconstantNoise Offset0.03
OptimizerAdamWMultires Noise Discount0.1
Network Dim64Multires Noise Iterations10
Network Alpha32Repeat & Steps20 & 2950
Epoch24Save Every N Epochs1

Labeling: florence2-en(natural language & English)

Total Images Used for Training : 21

Best Dimensions & Inference

**Dimensions****Aspect Ratio****Recommendation**
1280 x 8323:2Best
1024 x 10241:1Default

Inference Range

  • —Recommended Inference Steps: 30–35

Setting Up

python
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/Cardboard-v2-Flux "
trigger_word = "Cardboard v2"  
pipe.load_lora_weights(lora_repo)

device = torch.device("cuda")
pipe.to(device)

Trigger words

You should use Cardboard v2 to trigger the image generation.

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.