Views
No views yet
timm, ImageNet pretrained)| Metric | Value |
|---|---|
| Best Val QWK | 0.7281 |
build_resnet:1from src.models.resnet_baseline import build_resnet
2from src.utils.config import load_config
3from src.utils.checkpoint import load_checkpoint
4from huggingface_hub import hf_hub_download
5
6ckpt_path = hf_hub_download(repo_id="anishanish383/dr-detection-resnet50", filename="best.pt")
7config = load_config("configs/train_resnet.yaml")
8model = build_resnet(config)
9load_checkpoint(ckpt_path, model)
10model.eval()