Instructions to use infinite000/roadwork_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use infinite000/roadwork_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="infinite000/roadwork_detection") 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("infinite000/roadwork_detection") model = AutoModelForImageClassification.from_pretrained("infinite000/roadwork_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload model_card.json with huggingface_hub
Browse files- model_card.json +9 -6
model_card.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
| 1 |
-
{
|
| 2 |
-
"model_name": "
|
| 3 |
-
"description": "fine-tuned
|
| 4 |
-
"version": "
|
| 5 |
-
"submitted_by": "
|
| 6 |
-
"submission_time":
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "roadwork-detection-vit-base",
|
| 3 |
+
"description": "Vision Transformer fine-tuned for binary roadwork detection on Bittensor Subnet 72",
|
| 4 |
+
"version": "1.0.0",
|
| 5 |
+
"submitted_by": "infinite000",
|
| 6 |
+
"submission_time": 1771436051,
|
| 7 |
+
"architecture": "google/vit-base-patch16-224-in21k",
|
| 8 |
+
"task": "binary-image-classification",
|
| 9 |
+
"dataset": "natix-network-org/roadwork"
|
| 10 |
}
|