8-class classifier (dyed-lifted-polyps, dyed-resection-margins, esophagitis, normal-cecum, normal-pylorus, normal-z-line, polyps, ulcerative-colitis) for GI endoscopy frames, trained on Kvasir-Dataset-v2 with stratified group 10-fold cross-validation.
| Metric | Value |
|---|---|
| Accuracy | 0.9514 ± 0.0057 |
| Precision (macro) | 0.9520 ± 0.0054 |
| Recall (macro) | 0.9514 ± 0.0057 |
| F1 (macro) | 0.9513 ± 0.0057 |
| ROC-AUC (macro) | 0.9959 ± 0.0014 |
from huggingface_hub import hf_hub_download
# see inference.py in this repo for load_model() / predict()
Grad-CAM visualizations for both the ConvNeXt and Swin streams are included in the original training notebook to support clinical interpretability.
best_model_for_deployment.pt 278 MBpytorch_model.bin 278 MB