Instructions to use beingamit99/car_damage_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use beingamit99/car_damage_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="beingamit99/car_damage_detection") 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("beingamit99/car_damage_detection") model = AutoModelForImageClassification.from_pretrained("beingamit99/car_damage_detection") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
02035d1
1
Parent(s): 224c7b3
Update README.md
Browse files
README.md
CHANGED
|
@@ -72,4 +72,5 @@ print(f"Predicted class: {predicted_class_name} (probability: {predicted_proba:.
|
|
| 72 |
from transformers import pipeline
|
| 73 |
#Create a classification pipeline
|
| 74 |
pipe = pipeline("image-classification", model="beingamit99/car_damage_detection")
|
| 75 |
-
pipe(IMAGE)
|
|
|
|
|
|
| 72 |
from transformers import pipeline
|
| 73 |
#Create a classification pipeline
|
| 74 |
pipe = pipeline("image-classification", model="beingamit99/car_damage_detection")
|
| 75 |
+
pipe(IMAGE)
|
| 76 |
+
```
|