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
Delete training_results.json
Browse files- training_results.json +0 -25
training_results.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"eval_loss": 0.03363392502069473,
|
| 3 |
-
"eval_accuracy": 0.9930374238468234,
|
| 4 |
-
"eval_precision": 0.9927780452575831,
|
| 5 |
-
"eval_recall": 0.9995152690256908,
|
| 6 |
-
"eval_f1": 0.996135265700483,
|
| 7 |
-
"eval_auc": 0.9907684532956549,
|
| 8 |
-
"eval_runtime": 72.6863,
|
| 9 |
-
"eval_samples_per_second": 31.615,
|
| 10 |
-
"eval_steps_per_second": 0.991,
|
| 11 |
-
"epoch": 10.0,
|
| 12 |
-
"eval_split": "Test (Original)",
|
| 13 |
-
"training_config": {
|
| 14 |
-
"use_validator_augmentations": true,
|
| 15 |
-
"augmentation_level_probs": {
|
| 16 |
-
"0": 0.25,
|
| 17 |
-
"1": 0.25,
|
| 18 |
-
"2": 0.25,
|
| 19 |
-
"3": 0.25
|
| 20 |
-
},
|
| 21 |
-
"use_synthetic_data": false,
|
| 22 |
-
"learning_rate": 3e-06,
|
| 23 |
-
"num_epochs": 10
|
| 24 |
-
}
|
| 25 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|