Downloads · 30 days
6
11% of all-time downloads
patcdaniel/planktoscope-phytoplankton-classifier
planktoscope-phytoplankton-classifier is a image classification model from patcdaniel. Use it when you need a label for an image. The card lists the license as cc-by-4.0.
A 22-class phytoplankton image classifier for Planktoscope ROIs from the Santa Cruz Municipal Wharf timeseries.
Downloads · 30 days
6
11% of all-time downloads
All-time downloads
55
Public
Parameters
21.6M
86.7 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors86.6 MB · 100%
From the Hugging Face model README
A 22-class phytoplankton image classifier for Planktoscope ROIs from the Santa Cruz Municipal Wharf timeseries.
A frozen DINOv2 ViT-S/14 backbone (timm: vit_small_patch14_dinov2.lvd142m)
produces a 384-d embedding, and a single linear layer (linear probe) maps it
to 22 classes. Only the linear head is trained; the backbone is unchanged.
(255, 255, 255) (light, matching the ROI background) — preserves aspect ratio so chains are not distorted.[0.485, 0.456, 0.406] / std [0.229, 0.224, 0.225].Akashiwo, Asterionella, Centric, Cerataulina_Guinardia_Dactyliosen, Chaetoceros, Detritus, Dinophysis, Eucampia, Lioloma, Margalefidinium, Pennate, Phaeocystis, Pleurosigma, Polykrikos, Protoperidinium, Pseudo-nitzschia, Rhizosolenia, Thalassionema, Tiarina, Tintinnid, Tripos, Zooplankton
See inference_example.py (self-contained — does not require the training repo).
Predictions below recommended_min_confidence (0.7)
should be treated as Unassigned, important when running over raw samples that
contain detritus and unfamiliar particles.
| class | support | precision | recall | f1 |
|---|---|---|---|---|
| Dinophysis | 10 | 1.0 | 1.0 | 1.0 |
| Phaeocystis | 160 | 0.964 | 1.0 | 0.982 |
| Thalassionema | 55 | 0.982 | 0.982 | 0.982 |
| Tripos | 25 | 0.962 | 1.0 | 0.98 |
| Tintinnid | 142 | 0.959 | 0.993 | 0.976 |
| Akashiwo | 270 | 0.989 | 0.963 | 0.976 |
| Zooplankton | 19 | 1.0 | 0.947 | 0.973 |
| Chaetoceros | 564 | 0.97 | 0.968 | 0.969 |
| Detritus | 140 | 0.985 | 0.95 | 0.967 |
| Cerataulina_Guinardia_Dactyliosen | 244 | 0.963 | 0.967 | 0.965 |
| Margalefidinium | 78 | 0.928 | 0.987 | 0.957 |
| Tiarina | 33 | 0.917 | 1.0 | 0.957 |
| Asterionella | 61 | 0.951 | 0.951 | 0.951 |
| Centric | 8 | 1.0 | 0.875 | 0.933 |
| Pseudo-nitzschia | 339 | 0.944 | 0.903 | 0.923 |
| Lioloma | 99 | 0.873 | 0.97 | 0.919 |
| Polykrikos | 11 | 0.846 | 1.0 | 0.917 |
| Protoperidinium | 10 | 0.833 | 1.0 | 0.909 |
| Eucampia | 12 | 0.846 | 0.917 | 0.88 |
| Rhizosolenia | 92 | 0.907 | 0.848 | 0.876 |
| Pennate | 16 | 0.786 | 0.688 | 0.733 |
| Pleurosigma | 8 | 0.667 | 0.75 | 0.706 |
patcdaniel/planktoscope-phytoplankton — expert-verified ROIs curated via deep-feature clustering + DINOv2 embedding-similarity mining. This model predicts the 22 classes with ≥50 training images; the dataset additionally includes rarer curated classes not yet covered by the model.
cc-by-4.0