Downloads · 30 days
0
0% of all-time downloads
Catniti/catrex-1.0-image
catrex-1.0-image is a text-to-image model from Catniti. 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.
Text-to-image model for face generation, fine-tuned on 20,000 captioned portraits.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
34
Public
Parameters
323M
1.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.1 GB · 100%
From the Hugging Face model README
Text-to-image model for face generation, fine-tuned on 20,000 captioned portraits.
| Metric | Value |
|---|---|
| MSE loss | 0.1678 |
| Resolution | 192x192 |
| UNet parameters | 323M |
| Training steps | 500 |
| Base model | segmind/tiny-sd |
from diffusers import StableDiffusionPipeline
import torch
pipe = StableDiffusionPipeline.from_pretrained(
"Catniti/catrex-1.0-image", torch_dtype=torch.float16, safety_checker=None
).to("cuda")
image = pipe(
"a photo of a young woman with long blonde hair, smiling",
num_inference_steps=30,
guidance_scale=7.5,
height=192, width=192,
).images[0]
image.save("face.png")
Plain English descriptions of a person: gender, age, hair, expression.
a photo of an older man with a grey beard and glasses
Trained only on portraits, so it generates faces regardless of the prompt — ask for a landscape and you still get a face. Best results at 192x192; higher resolutions degrade.