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 training_results.json with huggingface_hub
Browse files- training_results.json +21 -0
training_results.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eval_loss": 0.029752520844340324,
|
| 3 |
+
"eval_accuracy": 0.9939077458659704,
|
| 4 |
+
"eval_precision": 0.9937349397590362,
|
| 5 |
+
"eval_recall": 0.9995152690256908,
|
| 6 |
+
"eval_f1": 0.9966167230546158,
|
| 7 |
+
"eval_auc": 0.9929342725425686,
|
| 8 |
+
"eval_runtime": 72.299,
|
| 9 |
+
"eval_samples_per_second": 31.785,
|
| 10 |
+
"eval_steps_per_second": 0.996,
|
| 11 |
+
"epoch": 1.6032064128256514,
|
| 12 |
+
"eval_split": "Test (Original)",
|
| 13 |
+
"training_config": {
|
| 14 |
+
"use_mixup": true,
|
| 15 |
+
"use_cutmix": true,
|
| 16 |
+
"use_focal_loss": true,
|
| 17 |
+
"use_validator_augmentations": true,
|
| 18 |
+
"learning_rate": 2e-06,
|
| 19 |
+
"num_epochs": 25
|
| 20 |
+
}
|
| 21 |
+
}
|