Views
No views yet
google/siglip2-so400m-patch14-384 vision encoder with a 9-way multi-label linear head, for
detecting diseases/conditions on oil-palm (kelapa sawit) seedlings in the
pre-nursery phase.| code | name | note |
|---|---|---|
| P00 | Normal | |
| P01 | LeafSpot | |
| P02 | Anthracnose | |
| P03 | BudRot | data-limited |
| P04 | Chlorosis | |
| P05 | NettleCat | data-limited |
| P06 | AlgalRust | |
| P07 | Fusarium | data-limited |
| P08 | FertBurn |
inference_example.py. In short: load the base SigLIP vision tower, attach
the linear head from model.safetensors, preprocess with the bundled
preprocessor_config.json, apply per-class thresholds from thresholds.json.1import json, torch
2from transformers import AutoModel, AutoProcessor
3from safetensors.torch import load_file
4from PIL import Image
5# ... (full runnable version in inference_example.py)thresholds.json, which
were tuned on a validation split (maximizing per-class F1) and then frozen.
A global threshold is known to be wrong here because the class scores are
imbalanced and not comparable across classes.siglip2_palm.pt.