Harry commited on
Commit
9634b53
·
verified ·
1 Parent(s): 6ea5a83

Add model card

Browse files
Files changed (1) hide show
  1. README.md +35 -0
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: pytorch
4
+ pipeline_tag: image-classification
5
+ tags:
6
+ - coral
7
+ - convnext
8
+ - image-classification
9
+ ---
10
+
11
+ # KTCoralCLS ConvNeXt (recommended)
12
+
13
+ Genus-only **ConvNeXt-Tiny** trained on KTCoral with the **parent-image group hold-out** split.
14
+
15
+ | | |
16
+ |--|--|
17
+ | Classes | 36 coral genera |
18
+ | Input | RGB 224×224, ImageNet normalize |
19
+ | Test metrics | 81.9% accuracy, macro F1 0.796, worst-genus F1 0.625 |
20
+ | File | `best.pt` |
21
+
22
+ This is the primary deployment checkpoint from the KTCoralCLS paper (not the multi-task growth model).
23
+
24
+ ## Load
25
+
26
+ ```python
27
+ import torch
28
+ from ktcoralcls.genera import GENERA
29
+ from ktcoralcls.model import load_checkpoint
30
+
31
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
32
+ model, ckpt = load_checkpoint("best.pt", device, num_classes=len(GENERA))
33
+ ```
34
+
35
+ Dataset: [`quacky/ktcoral`](https://huggingface.co/datasets/quacky/ktcoral). Code: GitHub KTCoralCLS (link after publish).