Downloads · 30 days
0
Sahil35077/mosquitoscope-convnextv2-tiny
mosquitoscope-convnextv2-tiny is a image classification model from Sahil35077. Use it when you need a label for an image. It is set up for timm. The card lists the license as mit.
Production checkpoint for the MosquitoScope web demo: 41 mosquito species, hybrid class-weighted training (v2enhancedmemsafe).
Downloads · 30 days
0
Access
Public
Updated Jun 23, 2026
Repo size
112 MB
Likes
0
Public
Click a slice to open those files.
.pth112 MB · 100%
From the Hugging Face model README
Production checkpoint for the MosquitoScope web demo: 41 mosquito species, hybrid class-weighted training (v2_enhanced_memsafe).
| Metric | Value |
|---|---|
| Test accuracy (TTA) | 74.0% |
| CV mean accuracy | 73.9% |
| Architecture | convnextv2_tiny @ 288px |
| Classes | 41 |
| Train / test | 1228 / 308 |
import torch
import timm
checkpoint = torch.load("mosquito_convnextv2_tiny_final.pth", map_location="cpu", weights_only=False)
model = timm.create_model(checkpoint["model_name"], pretrained=False, num_classes=len(checkpoint["classes"]))
model.load_state_dict(checkpoint["model_state_dict"])
model.eval()
Bundled with the MosquitoScope Flask app; Render pulls this file at deploy time via HF_MODEL_REPO.