Downloads · 30 days
0
humantics/cxr-dino-v1
cxr-dino-v1 is a feature extraction model from humantics. Use it when you need embeddings to search or compare text. The card lists the license as apache-2.0.
- data → folder containing images - checkpoint → your cxr-dino model - out → output file with embeddings
Downloads · 30 days
0
Access
Public
Updated Nov 28, 2025
Repo size
88.3 MB
Likes
0
Public
Click a slice to open those files.
.pt88.3 MB · 100%
From the Hugging Face model README
pip install torch torchvision pillow
pip install lightly-train
lightly-train embed \
data="images/" \
checkpoint="/cxr-dino-model/model.pt" \
out="embeddings.pth" \
format="torch"
import lightly_train
lightly_train.embed(
data="images/",
checkpoint="cxr-dino-model/model.pt",
out="embeddings.pth",
format="torch"
)
print("Saved embeddings to embeddings.pth")
import torch
data = torch.load("embeddings.pth")
embeddings = data["embeddings"]
paths = data["image_paths"]
print(embeddings.shape)
print(paths[:5])