ktcoralcls-convnext / README.md
Harry
Link GitHub code repo
4a8b501 verified
|
Raw History Blame Contribute Delete
1.02 kB
metadata
license: other
library_name: pytorch
pipeline_tag: image-classification
tags:
  - coral
  - convnext
  - image-classification

KTCoralCLS ConvNeXt (recommended)

Genus-only ConvNeXt-Tiny trained on KTCoral with the parent-image group hold-out split.

Classes 36 coral genera
Input RGB 224×224, ImageNet normalize
Test metrics 81.9% accuracy, macro F1 0.796, worst-genus F1 0.625
File best.pt

This is the primary deployment checkpoint from the KTCoralCLS paper (not the multi-task growth model).

Load

import torch
from ktcoralcls.genera import GENERA
from ktcoralcls.model import load_checkpoint

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model, ckpt = load_checkpoint("best.pt", device, num_classes=len(GENERA))