Instructions to use obiwan001/roadwork2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use obiwan001/roadwork2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="obiwan001/roadwork2") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("obiwan001/roadwork2") model = AutoModelForImageClassification.from_pretrained("obiwan001/roadwork2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- model_card.json +7 -0
model_card.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "roadwork2",
|
| 3 |
+
"description": "Detects roadwork",
|
| 4 |
+
"version": "1.0.0",
|
| 5 |
+
"submitted_by": "Obiwan",
|
| 6 |
+
"submission_time": 1748964402
|
| 7 |
+
}
|