Classification¶
siglip2_toolkit.classification.ImageClassifier ¶
Classifies images with a fine-tuned image-classification model.
The model and its image processor are loaded lazily on first use. Labels
come from the checkpoint's config.id2label; num_labels overrides
the head size when the checkpoint requires it.