Image Classification
timm
LiteRT
Safetensors
coffee
plant-disease
agriculture
efficientnet
supervised-fine-tuning
Instructions to use ConnorLee08/coffee-leaf-efficientnet-b2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use ConnorLee08/coffee-leaf-efficientnet-b2 with timm:
import timm model = timm.create_model("hf-hub:ConnorLee08/coffee-leaf-efficientnet-b2", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Download config.json from ConnorLee08/coffee-leaf-efficientnet-b2: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/ConnorLee08/coffee-leaf-efficientnet-b2/resolve/main/config.json
- Command line
-
hf download hf://ConnorLee08/coffee-leaf-efficientnet-b2/config.json
-
curl -L -o config.json https://huggingface.co/ConnorLee08/coffee-leaf-efficientnet-b2/resolve/main/config.json
1.18 kB
| { | |
| "architecture": "efficientnet_b2", | |
| "num_classes": 8, | |
| "num_features": 1408, | |
| "pretrained_cfg": { | |
| "tag": "ra_in1k", | |
| "custom_load": false, | |
| "input_size": [ | |
| 3, | |
| 224, | |
| 224 | |
| ], | |
| "test_input_size": [ | |
| 3, | |
| 224, | |
| 224 | |
| ], | |
| "fixed_input_size": false, | |
| "interpolation": "bicubic", | |
| "crop_pct": 0.875, | |
| "crop_mode": "center", | |
| "mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "num_classes": 8, | |
| "pool_size": [ | |
| 8, | |
| 8 | |
| ], | |
| "first_conv": "conv_stem", | |
| "classifier": "classifier", | |
| "label_names": [ | |
| "cercospora", | |
| "healthy", | |
| "miner", | |
| "phoma", | |
| "rust", | |
| "red_spider_mite", | |
| "weevil_damage", | |
| "unsupported" | |
| ] | |
| }, | |
| "label_names": [ | |
| "cercospora", | |
| "healthy", | |
| "miner", | |
| "phoma", | |
| "rust", | |
| "red_spider_mite", | |
| "weevil_damage", | |
| "unsupported" | |
| ], | |
| "checkpoint_sha256": "eb6a5d4daac75046befce1250bc9278d4c1d2ccfa8ccf0fe2f4302cb918e8dd8", | |
| "installed_in_original_app": true, | |
| "featured": true | |
| } | |