Image Classification
Transformers
PyTorch
English
drowsiness_detector
computer-vision
drowsiness-detection
driver-safety
cnn
tensorflow
Instructions to use ckcl/driver-drowsiness-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ckcl/driver-drowsiness-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ckcl/driver-drowsiness-detector") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ckcl/driver-drowsiness-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
license: mit
|
| 4 |
-
library_name:
|
| 5 |
tags:
|
| 6 |
- computer-vision
|
| 7 |
- drowsiness-detection
|
|
@@ -16,7 +16,7 @@ metrics:
|
|
| 16 |
- accuracy
|
| 17 |
- binary-crossentropy
|
| 18 |
widget:
|
| 19 |
-
|
| 20 |
pipeline_tag: image-classification
|
| 21 |
base_model:
|
| 22 |
- google/mobilenet_v2_1.0_224
|
|
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
license: mit
|
| 4 |
+
library_name: transformers
|
| 5 |
tags:
|
| 6 |
- computer-vision
|
| 7 |
- drowsiness-detection
|
|
|
|
| 16 |
- accuracy
|
| 17 |
- binary-crossentropy
|
| 18 |
widget:
|
| 19 |
+
- text: Example input
|
| 20 |
pipeline_tag: image-classification
|
| 21 |
base_model:
|
| 22 |
- google/mobilenet_v2_1.0_224
|