CoolFace
Modelpublic

EdBianchi/vit-fire-detection

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
12likes1.8kdownloads
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-fire-detection

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

  • Loss: 0.0126
  • Precision: 0.9960
  • Recall: 0.9960

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: 32
  • evalbatchsize: 32
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • lrschedulerwarmup_steps: 100
  • num_epochs: 10

Training results

Training LossEpochStepValidation LossPrecisionRecall
0.10181.01900.03750.99340.9934
0.04842.03800.01670.99610.9960
0.03573.05700.02530.99480.9947
0.01334.07600.01980.99610.9960
0.0125.09500.02030.99470.9947
0.01396.011400.02040.99470.9947
0.00767.013300.01750.99610.9960
0.00988.015200.01150.99740.9974
0.00629.017100.01330.99600.9960
0.001210.019000.01260.99600.9960

Framework versions

  • Transformers 4.25.1
  • Pytorch 1.14.0.dev20221111
  • Datasets 2.8.0
  • Tokenizers 0.12.1