Upload inference.py
Browse files123456789101112131415161718"""NAM-ADS-v1 YOLOv8 Classification Model - Custom Inference ScriptThis script provides model-specific inference code for the Namibian Desertspecies classifier (30 classes). It follows the AddaxAI-WebUI interface contractfor custom classification models.Model: Namibian Desert v1 (namib_desert_v1.pt)Framework: YOLOv8 (Ultralytics)Classes: 30 species from Skeleton Coast National Park, NamibiaTraining data: 850,000+ imagesOriginal source: streamlit-AddaxAI/classification/model_types/addax-yolov8/classify_detections.pyAdapted by: Claude Code on 2026-01-11Updated: 2026-01-13 - Migrated to class-based interface"""from __future__ import annotations12345"""Author: Peter van Lunteren"""from __future__ import annotations
inference.py+1-14