Instructions to use fbononibelloepoch/malaria-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use fbononibelloepoch/malaria-detection with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("fbononibelloepoch/malaria-detection", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from fbononibelloepoch/malaria-detection: direct link, hf CLI and curl.
- Browser
- Download file 197 Bytes
-
https://huggingface.co/fbononibelloepoch/malaria-detection/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://fbononibelloepoch/malaria-detection/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/fbononibelloepoch/malaria-detection/resolve/main/preprocessor_config.json
197 Bytes
| { | |
| "do_normalize": true, | |
| "do_resize": true, | |
| "image_mean": [0.485, 0.456, 0.406], | |
| "image_std": [0.229, 0.224, 0.225], | |
| "size": { | |
| "height": 640, | |
| "width": 640 | |
| } | |
| } |