Instructions to use devwinner/ocdf-cassava with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use devwinner/ocdf-cassava with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download config.json from devwinner/ocdf-cassava: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/devwinner/ocdf-cassava/resolve/main/config.json
- Command line
-
hf download hf://devwinner/ocdf-cassava/config.json
-
curl -L -o config.json https://huggingface.co/devwinner/ocdf-cassava/resolve/main/config.json
1.09 kB
| { | |
| "model": "cassava_EfficientNetB0_s42_fp16.tflite", | |
| "architecture": "EfficientNet-B0", | |
| "format": "LiteRT FP16", | |
| "release": "Phase 1 (deployed)", | |
| "input": { | |
| "shape": [ | |
| 1, | |
| 224, | |
| 224, | |
| 3 | |
| ], | |
| "dtype": "float32", | |
| "colour": "RGB", | |
| "range": [ | |
| 0, | |
| 255 | |
| ], | |
| "resize": "tf.image.resize_with_pad(img, 224, 224, method='bilinear')" | |
| }, | |
| "output": "logits", | |
| "labels_in_output_order": [ | |
| "C01", | |
| "C02", | |
| "C03" | |
| ], | |
| "label_names": { | |
| "C01": "Cassava bacterial blight", | |
| "C02": "Cassava mosaic disease", | |
| "C03": "Healthy cassava" | |
| }, | |
| "temperature_T": 1.0873, | |
| "abstain_if_max_probability_below": 0.85, | |
| "postprocessing": "p = softmax(logits / temperature_T); abstain if max(p) < threshold", | |
| "sha256": "c8a9ae66b0a219af132aca8b297df9224f27ded858768e4e6377dde08f8d9bad", | |
| "frozen_record": "https://github.com/DevaWinner/ocdf-cassava-maize/blob/v1.0.0/protocol/frozen_choices_v2.json", | |
| "phase2_settings": "https://github.com/DevaWinner/ocdf-cassava-maize/blob/v1.0.0/protocol/frozen_choices_v3.json", | |
| "doi": "10.5281/zenodo.24546864", | |
| "license": "cc-by-nc-4.0" | |
| } | |