Image Classification
Transformers
PyTorch
resnet
resnet50
agriculture
anomaly-detection
wheat
plant-disease
Instructions to use jays009/Resnet3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jays009/Resnet3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jays009/Resnet3") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jays009/Resnet3", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "model_type": "resnet", | |
| "task": "image-classification", | |
| "framework": "pytorch", | |
| "pipeline_tag": "image-classification", | |
| "num_classes": 3, | |
| "class_labels": ["fa", "p_def", "blb"], | |
| "input_shape": [224, 224, 3], | |
| "preprocessing": { | |
| "resize": 256, | |
| "center_crop": 224, | |
| "normalize": [0.485, 0.456, 0.406], | |
| "normalize_std": [0.229, 0.224, 0.225] | |
| }, | |
| "metrics": { | |
| "validation_accuracy": "93.82%", | |
| "per_class_accuracy": { | |
| "fa": "100.00%", | |
| "p_def": "86.21%", | |
| "blb": "95.00%" | |
| } | |
| }, | |
| "license": "apache-2.0", | |
| "tags": [ | |
| "image-classification", | |
| "crop-anomaly-detection", | |
| "agriculture", | |
| "resnet50", | |
| "deep-learning" | |
| ], | |
| "description": "ResNet50 model for 3-class anomaly detection. The model classifies images as Fall Armyworm (fa), Phosphorus Deficiency (p_def), or Bacterial Leaf Blight (blb)." | |
| } | |