πΏ Phytoplankton Detection & Automation Pipeline
π§ Repository Overview
This repository hosts a collection of deep learning models and automation pipelines designed for phytoplankton detection and classification from microscopic or satellite-based imagery. The system is built to enable end-to-end automation β from raw image preprocessing to final ensemble-based predictions.
π§© Model Collection
| Model | Type | Description | Use Case |
|---|---|---|---|
| ResNet18 | π§± Base Model | Standard CNN backbone trained for robust phytoplankton feature extraction. | Baseline accuracy and interpretability. |
| MobileNetV2 | β‘ Lightweight Model | Efficient and fast model optimized for deployment on low-resource devices. | Real-time and edge applications. |
| Preprocessing Module | π§Ό Data Pipeline | Handles denoising, resizing, augmentation, and normalization for optimal model input. | Use before inference or training. |
| Full Pipeline (End-to-End) | π Ensemble Model | Combines preprocessing, model inference, and ensemble aggregation for automated detection. | Plug-and-play complete solution. |
βοΈ Pipeline Architecture
graph TD
A[Raw Input Images] --> B[Preprocessing Module π§Ό]
B --> C[ResNet18 π§±]
B --> D[MobileNetV2 β‘]
C --> E[Feature Fusion & Ensemble π]
D --> E
E --> F[Phytoplankton Class Prediction πΏ]
Each stage is modular, allowing researchers and developers to integrate or replace components as needed.
π§ͺ Training Details
- Framework: PyTorch
- Optimizers: Adam / SGD
- Loss Function: CrossEntropyLoss
- Dataset: Curated Phytoplankton Image Dataset (custom/preprocessed)
- Input Size: 224Γ224 RGB
- Augmentations: Random rotations, flips, and color normalization
- Ensemble Strategy: Weighted average of model logits
π Performance Summary
| Model | RΒ² Score | F1 Score | Notes |
|---|---|---|---|
| ResNet18 | 0.897 | 0.93 | Strong baseline with balanced precision & recall. |
| MobileNetV2 | 0.890 | 0.922 | Lighter and faster, ideal for deployment. |
| Full Pipeline | 0.91 | 0.96 | Ensemble with preprocessing yields highest performance. |
π‘ Key Features
- π§Ό Automated Preprocessing β Handles normalization, resizing, and augmentation seamlessly.
- π Modular Ensemble β Combine multiple architectures dynamically.
- β‘ Lightweight & Deployable β Optimized for both GPU and CPU inference.
- 𧬠Domain-Specific Optimization β Tuned specifically for phytoplankton morphology and color features.
π Citation
If you use this work, please cite it as:
@misc{deepdas2025phytoplankton,
author = {Das, Deep},
title = {Phytoplankton Detection and Automation Pipeline},
year = {2025},
howpublished = {Hugging Face},
url = {https://huggingface.co/TheDeepDas/phytoplankton-Models}
}
β€οΈ Acknowledgements
Developed by Deep Das π GitHub β’ Hugging Face β’ LinkedIn
βEmpowering ocean research through automation and intelligence.β
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
π
Ask for provider support
Model tree for TheDeepDas/Phytoplankton-Models
Base model
google/mobilenet_v2_1.0_224