CoolFace
Modelpublic

nguyenkhoa/dinov2_Liveness_detection_v2.2.1

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes5downloads
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. -->

<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>

dinov2Livenessdetection_v2.2.1

This model is a fine-tuned version of nguyenkhoa/dinov2_Liveness_detection_v2.1.4 on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0301
  • Accuracy: 0.9910
  • F1: 0.9910
  • Recall: 0.9910
  • Precision: 0.9910

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: 5e-05
  • trainbatchsize: 768
  • evalbatchsize: 8
  • seed: 42
  • optimizer: Use adamwtorch with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: linear
  • num_epochs: 5
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1RecallPrecision
0.40520.3232640.07750.97120.97130.97120.9712
0.07840.64651280.05450.98030.98030.98030.9804
0.06390.96971920.06150.97710.97720.97710.9772
0.04791.29292560.05720.97950.97940.97950.9800
0.04391.61623200.04220.98440.98440.98440.9844
0.03921.93943840.05640.98030.98010.98030.9810
0.03742.26264480.04640.98370.98370.98370.9837
0.02732.58595120.03780.98610.98610.98610.9861
0.02712.90915760.03360.98830.98830.98830.9884
0.0213.23236400.04180.98590.98590.98590.9859
0.0193.55567040.04540.98480.98490.98480.9849
0.01773.87887680.03590.98830.98830.98830.9883
0.01344.20208320.04100.98740.98740.98740.9877
0.01024.52538960.03140.99100.99100.99100.9910
0.01034.84859600.03010.99100.99100.99100.9910

Evaluate results

  • Accuracy: 0.8626
  • F1: 0.8909
  • Recall: 0.9924
  • Precision: 0.6903
  • APCER: 0.1940
  • BPCER: 0.0076
  • ACER: 0.1008

Framework versions

  • Transformers 4.47.0
  • Pytorch 2.5.1+cu121
  • Datasets 3.2.0
  • Tokenizers 0.21.0