|
Download README.md from quacknode/ktcoralcls-convnext: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/quacknode/ktcoralcls-convnext/resolve/main/README.md
- Command line
-
hf download hf://quacknode/ktcoralcls-convnext/README.md
-
curl -L -o README.md https://huggingface.co/quacknode/ktcoralcls-convnext/resolve/main/README.md
1.02 kB
| 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 | |
| ```python | |
| 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)) | |
| ``` | |
| - Dataset: [`quacky/ktcoral`](https://huggingface.co/datasets/quacky/ktcoral) | |
| - Code / splits: [QuackBeans/KTCoralCLS](https://github.com/QuackBeans/KTCoralCLS) | |