Run this model with HF Jobs
Run SpotLab/microfilariae_detection on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/SpotLab/microfilariae_detection. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/SpotLab/microfilariae_detection on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use SpotLab/microfilariae_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SpotLab/microfilariae_detection with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import SSDForObjectDetection model = SSDForObjectDetection.from_pretrained("SpotLab/microfilariae_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
This model is an object detection model trained with tensorflow object detection API, published with the paper Edge Artificial Intelligence for real-time automatic quantification of filariasis in mobile microscopy
Developed by: Spotlab
Model type: SSD mobilenet v2
Classes: Microfilaria
Model input: image resized to 640 and normalized to with mean=127.5 and std = 127.5.
Datasets:
- Training set: 700 field of view images (100 magnification) from 85 samples with 1965 microfilarias
- Validation set: 173 field of view images (100 magnification) from 30 samples with 328 microfilarias
- Test set: 453 field of view images (100 magnification) from 30 samples with 328 microfilarias
Performance:
- On validation set: 88.17% precision, 91.62% recall, and 89.85% f1 score.
- On test set: 94.14% precision, 91.90% recall, and 93.01% f1 score.
Example detections
The model is trained with the square inside the field of view instead with the full field of view. To ensure the model performace, use use this scale.
You can create your own android app to run this model following this tutorial: TensorFlow Lite Object Detection Android Demo
- Downloads last month
- 86
# pip install -U transformers accelerate # Load model directly from transformers import SSDForObjectDetection model = SSDForObjectDetection.from_pretrained("SpotLab/microfilariae_detection", device_map="auto")