Image Classification
Transformers
PyTorch
TensorBoard
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use EdwarV/computer_vision_example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EdwarV/computer_vision_example with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="EdwarV/computer_vision_example") 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("EdwarV/computer_vision_example") model = AutoModelForImageClassification.from_pretrained("EdwarV/computer_vision_example", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,6 +6,12 @@ datasets:
|
|
| 6 |
- beans
|
| 7 |
metrics:
|
| 8 |
- accuracy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
model-index:
|
| 10 |
- name: computer_vision_example
|
| 11 |
results:
|
|
|
|
| 6 |
- beans
|
| 7 |
metrics:
|
| 8 |
- accuracy
|
| 9 |
+
widget:
|
| 10 |
+
|
| 11 |
+
- src: https://huggingface.co/EdwarV/computer_vision_example/blob/main/bean_rust.jpeg
|
| 12 |
+
- src: https://huggingface.co/EdwarV/computer_vision_example/blob/main/healthy.jpeg
|
| 13 |
+
example_title: Bean Rust
|
| 14 |
+
|
| 15 |
model-index:
|
| 16 |
- name: computer_vision_example
|
| 17 |
results:
|