Downloads · 30 days
77
1% of all-time downloads
prithivMLmods/Castor-3D-Portrait-Flux-LoRA
Castor-3D-Portrait-Flux-LoRA is a text-to-image model from prithivMLmods. 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.
<Gallery / The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.
Downloads · 30 days
77
1% of all-time downloads
All-time downloads
10.2K
Public
Repo size
307 MB
Likes
21
Public
Click a slice to open those files.
.safetensors306 MB · 100%
From the Hugging Face model README
prithivMLmods/Castor-3D-Portrait-Flux-LoRA
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 | 20 & 2.5K |
| Epoch | 15 | Save Every N Epochs | 1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 19
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 = "prithivMLmods/Castor-3D-Portrait-Flux-LoRA"
trigger_word = "3D Portrait" # Leave trigger_word blank if not used.
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
/project-root/
├── .gitattributes
├── README.md
├── app.py
├── pythonproject.py
[!WARNING] Trigger words: You should use
3D Portraitto trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.