41fa26ed95
CPU-only, lazy-loaded, process-singleton ONNX session. Parses Camie's string-category selected_tags.csv (vs WD14's integer Danbooru ids). STORE_FLOOR (0.05) keeps the stored predictions JSON compact; SURFACED_CATEGORIES gates which categories the suggestion UI shows (meta/rating/year stored but never surfaced). Inference itself isn't unit-tested (1GB model not in CI); the missing- model error path and pure-logic surface are. Full inference runs in the local integration suite. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2 lines
90 B
Python
2 lines
90 B
Python
"""ML pipeline services: tagger, embedder, suggestions, centroids, allowlist, aliases."""
|