Instructions to use devwinner/ocdf-maize with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use devwinner/ocdf-maize 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-maize: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/devwinner/ocdf-maize/resolve/main/config.json
- Command line
-
hf download hf://devwinner/ocdf-maize/config.json
-
curl -L -o config.json https://huggingface.co/devwinner/ocdf-maize/resolve/main/config.json
1.14 kB
| { | |
| "model": "maize_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": [ | |
| "M01", | |
| "M02", | |
| "M03", | |
| "M04", | |
| "M05" | |
| ], | |
| "label_names": { | |
| "M01": "Maize streak virus", | |
| "M02": "Northern leaf blight", | |
| "M03": "Grey leaf spot", | |
| "M04": "Common rust", | |
| "M05": "Healthy maize" | |
| }, | |
| "temperature_T": 0.8557, | |
| "abstain_if_max_probability_below": 0.5, | |
| "postprocessing": "p = softmax(logits / temperature_T); abstain if max(p) < threshold", | |
| "sha256": "fede5d9054c259d95c6785c9edb4822f28b09945d2b3128a4f333c7edcfb3c70", | |
| "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-4.0" | |
| } | |