VQA task head trained on top of the
LAPVQA captioning-pretrained encoder
(
lapvqa-pretrain-captioning
).
The encoder is kept frozen; this checkpoint contains the
VQAHead
state dict only.
The encoder outputs 1024-dim patch tokens (ViT-L/14).
Loading
import torch
from lapvqa.vqa.model import VQAHead
ckpt = torch.load("pretrain-captioning_best.pt", map_location="cpu")
head = VQAHead(vis_dim=1024)
head.load_state_dict(ckpt)
head.eval()
# pair with encoder_final.pt from lapvqa-pretrain-captioning
Runs of dmusingu lapvqa-vqa-pretrain-captioning 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-vqa-pretrain-captioning huggingface.co Model
More lapvqa-vqa-pretrain-captioning license Visit here:
lapvqa-vqa-pretrain-captioning huggingface.co is an AI model on huggingface.co that provides lapvqa-vqa-pretrain-captioning's model effect (), which can be used instantly with this dmusingu lapvqa-vqa-pretrain-captioning model. huggingface.co supports a free trial of the lapvqa-vqa-pretrain-captioning model, and also provides paid use of the lapvqa-vqa-pretrain-captioning. Support call lapvqa-vqa-pretrain-captioning model through api, including Node.js, Python, http.
lapvqa-vqa-pretrain-captioning huggingface.co is an online trial and call api platform, which integrates lapvqa-vqa-pretrain-captioning's modeling effects, including api services, and provides a free online trial of lapvqa-vqa-pretrain-captioning, you can try lapvqa-vqa-pretrain-captioning online for free by clicking the link below.
dmusingu lapvqa-vqa-pretrain-captioning online free url in huggingface.co:
lapvqa-vqa-pretrain-captioning is an open source model from GitHub that offers a free installation service, and any user can find lapvqa-vqa-pretrain-captioning on GitHub to install. At the same time, huggingface.co provides the effect of lapvqa-vqa-pretrain-captioning install, users can directly use lapvqa-vqa-pretrain-captioning installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
lapvqa-vqa-pretrain-captioning install url in huggingface.co: