Instructions to use Dwarni/autotrain-ant-image-classification-3599096564 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dwarni/autotrain-ant-image-classification-3599096564 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Dwarni/autotrain-ant-image-classification-3599096564") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Dwarni/autotrain-ant-image-classification-3599096564") model = AutoModelForImageClassification.from_pretrained("Dwarni/autotrain-ant-image-classification-3599096564", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model Trained Using AutoTrain
- Problem type: Multi-class Classification
- Model ID: 3599096564
- CO2 Emissions (in grams): 6.8260
Validation Metrics
- Loss: 0.078
- Accuracy: 0.975
- Macro F1: 0.966
- Micro F1: 0.975
- Weighted F1: 0.975
- Macro Precision: 0.966
- Micro Precision: 0.975
- Weighted Precision: 0.975
- Macro Recall: 0.966
- Micro Recall: 0.975
- Weighted Recall: 0.975
- Downloads last month
- 1