Edit model card

segformer-b0-finetuned-segments-SixrayKnife8-21-2024_saad3

This model is a fine-tuned version of nvidia/mit-b0 on the saad7489/SixraygunTest dataset. It achieves the following results on the evaluation set:

  • Loss: 0.2401
  • Mean Iou: 0.7857
  • Mean Accuracy: 0.9073
  • Overall Accuracy: 0.9829
  • Accuracy Bkg: 0.9890
  • Accuracy Knife: 0.8454
  • Accuracy Gun: 0.8874
  • Iou Bkg: 0.9842
  • Iou Knife: 0.6881
  • Iou Gun: 0.6848

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: 6e-05
  • train_batch_size: 20
  • eval_batch_size: 20
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 50

Training results

Training Loss Epoch Step Validation Loss Mean Iou Mean Accuracy Overall Accuracy Accuracy Bkg Accuracy Knife Accuracy Gun Iou Bkg Iou Knife Iou Gun
0.6856 5.0 20 0.8745 0.5906 0.8208 0.9514 0.9616 0.7456 0.7552 0.9528 0.4284 0.3905
0.5236 10.0 40 0.5196 0.6156 0.7798 0.9615 0.9759 0.6531 0.7105 0.9630 0.4812 0.4027
0.4408 15.0 60 0.4267 0.6612 0.8083 0.9683 0.9805 0.7659 0.6785 0.9690 0.5487 0.4659
0.369 20.0 80 0.3648 0.7064 0.8518 0.9736 0.9829 0.8166 0.7561 0.9742 0.6011 0.5437
0.3509 25.0 100 0.3248 0.7422 0.8897 0.9776 0.9845 0.8351 0.8496 0.9786 0.6307 0.6172
0.3101 30.0 120 0.2946 0.7610 0.9010 0.9800 0.9863 0.8378 0.8788 0.9813 0.6541 0.6476
0.3007 35.0 140 0.2752 0.7647 0.9031 0.9803 0.9864 0.8460 0.8770 0.9815 0.6523 0.6603
0.3025 40.0 160 0.2550 0.7836 0.9017 0.9827 0.9892 0.8442 0.8718 0.9840 0.6807 0.6863
0.2405 45.0 180 0.2448 0.7850 0.9079 0.9827 0.9887 0.8501 0.8849 0.9839 0.6834 0.6877
0.2452 50.0 200 0.2401 0.7857 0.9073 0.9829 0.9890 0.8454 0.8874 0.9842 0.6881 0.6848

Framework versions

  • Transformers 4.42.4
  • Pytorch 2.3.1+cu121
  • Datasets 2.21.0
  • Tokenizers 0.19.1
Downloads last month
14
Safetensors
Model size
3.72M params
Tensor type
F32
·
Inference Examples
Unable to determine this model's library. Check the docs .

Model tree for saad7489/segformer-b0-finetuned-segments-SixrayKnife8-21-2024_saad3

Base model

nvidia/mit-b0
Finetuned
(319)
this model