CoolFace
Modelpublic

chbh7051/vit-driver-drowsiness-detection

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes21downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

vit-driver-drowsiness-detection

This model is a fine-tuned version of google/vit-base-patch16-224 on the chbh7051/driver-drowsiness-detection dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0159
  • —Accuracy: 0.9930

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 0.0002
  • —trainbatchsize: 16
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 2
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
0.15040.175000.11780.9540
0.05810.3310000.10220.9579
0.04150.515000.08770.9746
0.04870.6720000.06500.9775
0.05550.8425000.05370.9786
0.02791.030000.04720.9827
0.01391.1735000.04520.9855
0.02821.3440000.03580.9878
0.00771.545000.03970.9876
0.01431.6750000.01590.9930
0.04391.8455000.01620.9930

Framework versions

  • —Transformers 4.27.4
  • —Pytorch 1.13.0
  • —Datasets 2.1.0
  • —Tokenizers 0.13.2