Views
No views yet
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 |
1import torch
2import timm
3
4checkpoint = torch.load("mosquito_convnextv2_tiny_final.pth", map_location="cpu", weights_only=False)
5model = timm.create_model(checkpoint["model_name"], pretrained=False, num_classes=len(checkpoint["classes"]))
6model.load_state_dict(checkpoint["model_state_dict"])
7model.eval()HF_MODEL_REPO.