Views
No views yet
animetimm/caformer_b36.dbv4-full| Parameter | Value |
|---|---|
| Batch size | 16 |
| Head LR | 0.001 |
| Fine-tune LR | 0.0001 |
| Weight decay | 0.0001 |
| Label smoothing | 0.1 |
| MixUp | True |
| Scheduler | CosineAnnealing |
1import timm
2import torch
3
4model = timm.create_model("animetimm/caformer_b36.dbv4-full", pretrained=False, num_classes=3)
5checkpoint = torch.load("best_model.pth", map_location="cpu", weights_only=False)
6model.load_state_dict(checkpoint["model_state_dict"])
7model.eval()