Skip to content

cleaning up hard-coded category names - #269

Merged
agentmorris merged 1 commit into
mainfrom
category-mapping-cleanup
Nov 23, 2026
Merged

agentmorris merged 1 commit into
mainfrom
category-mapping-cleanup

Conversation

@agentmorris

Copy link
Copy Markdown
Owner

This PR makes the package more robust to detectors with arbitrary category lists and eliminates some redundant hard-coding of category names, but preserves the longstanding convention that MegaDetector models use one-indexed outputs (animal=1, person=2, vehicle=3).

@agentmorris
agentmorris merged commit 22f2c0f into main Nov 23, 2026
20 checks passed
@agentmorris
agentmorris deleted the category-mapping-cleanup branch November 24, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant