dmusingu / lapvqa-ad

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: June 06 2026
object-detection

Introduction of lapvqa-ad

Model Details of lapvqa-ad

LAPVQA — Abnormality Detection

Part of the LAPVQA collection .

Description

DETR-style detection heads for 14-class chest abnormality detection on VinDr-CXR, trained on top of six frozen vision encoders. Each checkpoint is a dict: {state_dict, vis_dim, d_model, num_queries, num_enc, num_dec, encoder, epoch, val_map40, val_map50} .

Architecture — DetectionHead
vis_proj        : Linear(vis_dim → 256)
encoder         : 2 × TransformerEncoderLayer (self-attn, pre-norm)
object_queries  : Parameter [1, 20, 256]
decoder         : 3 × TransformerDecoderLayer (cross-attn to encoder output)
class_head      : Linear(256 → 15)   # 14 classes + background
box_head        : MLP(256 → 256 → 4) # (cx,cy,w,h) ∈ [0,1]
Results (VinDr-CXR test, mAP@IoU=0.4)
Encoder [email protected] (test)
OWLv2 0.048
SigLIP ~0.045
CLIP ViT-L/14 ~0.040
File Encoder vis_dim
clip-vit-l14.pt CLIP ViT-L/14 1024
siglip.pt SigLIP 1152
florence2.pt Florence-2 1024
coca.pt CoCa 768
owlv2.pt OWLv2 1024
mae-vit-l16.pt MAE ViT-L/16 1024
Loading
import torch
from lapvqa.ad.heads import DetectionHead
from lapvqa.ad.heads import predict

ckpt = torch.load("owlv2.pt", map_location="cpu")
head = DetectionHead(
    vis_dim     = ckpt["vis_dim"],
    d_model     = ckpt["d_model"],
    num_queries = ckpt["num_queries"],
    num_enc_layers = ckpt["num_enc"],
    num_dec_layers = ckpt["num_dec"],
)
head.load_state_dict(ckpt["state_dict"])
head.eval()

with torch.no_grad():
    # vis_tokens: [B, HW, vis_dim] — spatial patch tokens from the frozen encoder
    outputs    = head(vis_tokens)
    detections = predict(outputs, score_threshold=0.1, nms_iou=0.5)
    # detections[i]: {'boxes': [K,4] xyxy, 'labels': [K], 'scores': [K]}

Runs of dmusingu lapvqa-ad on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About lapvqa-ad huggingface.co Model

More lapvqa-ad license Visit here:

https://choosealicense.com/licenses/apache-2.0

lapvqa-ad huggingface.co

lapvqa-ad huggingface.co is an AI model on huggingface.co that provides lapvqa-ad's model effect (), which can be used instantly with this dmusingu lapvqa-ad model. huggingface.co supports a free trial of the lapvqa-ad model, and also provides paid use of the lapvqa-ad. Support call lapvqa-ad model through api, including Node.js, Python, http.

dmusingu lapvqa-ad online free

lapvqa-ad huggingface.co is an online trial and call api platform, which integrates lapvqa-ad's modeling effects, including api services, and provides a free online trial of lapvqa-ad, you can try lapvqa-ad online for free by clicking the link below.

dmusingu lapvqa-ad online free url in huggingface.co:

https://huggingface.co/dmusingu/lapvqa-ad

lapvqa-ad install

lapvqa-ad is an open source model from GitHub that offers a free installation service, and any user can find lapvqa-ad on GitHub to install. At the same time, huggingface.co provides the effect of lapvqa-ad install, users can directly use lapvqa-ad installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

lapvqa-ad install url in huggingface.co:

https://huggingface.co/dmusingu/lapvqa-ad

Url of lapvqa-ad

lapvqa-ad huggingface.co Url

Provider of lapvqa-ad huggingface.co

dmusingu
ORGANIZATIONS

Other API from dmusingu

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 06 2026