segformer-b0-finetuned-segments-SixrayKnife8-21-2024_saad6
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.1926
- Mean Iou: 0.8385
- Mean Accuracy: 0.9104
- Overall Accuracy: 0.9888
- Accuracy Bkg: 0.9948
- Accuracy Knife: 0.8378
- Accuracy Gun: 0.8987
- Iou Bkg: 0.9897
- Iou Knife: 0.7692
- Iou Gun: 0.7567
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.4965 | 5.0 | 20 | 0.4491 | 0.6641 | 0.7620 | 0.9721 | 0.9879 | 0.6670 | 0.6310 | 0.9725 | 0.5383 | 0.4815 |
0.4003 | 10.0 | 40 | 0.4074 | 0.7045 | 0.8219 | 0.9766 | 0.9884 | 0.6898 | 0.7875 | 0.9785 | 0.5644 | 0.5707 |
0.3596 | 15.0 | 60 | 0.3221 | 0.7687 | 0.8808 | 0.9821 | 0.9898 | 0.7844 | 0.8681 | 0.9831 | 0.6595 | 0.6636 |
0.3385 | 20.0 | 80 | 0.3000 | 0.7866 | 0.9138 | 0.9832 | 0.9885 | 0.8341 | 0.9189 | 0.9842 | 0.6933 | 0.6822 |
0.2833 | 25.0 | 100 | 0.2584 | 0.8128 | 0.9030 | 0.9863 | 0.9927 | 0.8283 | 0.8881 | 0.9872 | 0.7210 | 0.7302 |
0.2475 | 30.0 | 120 | 0.2362 | 0.8153 | 0.9020 | 0.9866 | 0.9931 | 0.8211 | 0.8917 | 0.9876 | 0.7198 | 0.7384 |
0.2421 | 35.0 | 140 | 0.2176 | 0.8222 | 0.8998 | 0.9873 | 0.9940 | 0.8238 | 0.8817 | 0.9882 | 0.7305 | 0.7478 |
0.2468 | 40.0 | 160 | 0.2076 | 0.8332 | 0.9101 | 0.9883 | 0.9942 | 0.8373 | 0.8989 | 0.9892 | 0.7591 | 0.7512 |
0.2069 | 45.0 | 180 | 0.1964 | 0.8374 | 0.9068 | 0.9887 | 0.9950 | 0.8315 | 0.8939 | 0.9896 | 0.7632 | 0.7593 |
0.2038 | 50.0 | 200 | 0.1926 | 0.8385 | 0.9104 | 0.9888 | 0.9948 | 0.8378 | 0.8987 | 0.9897 | 0.7692 | 0.7567 |
Framework versions
- Transformers 4.42.4
- Pytorch 2.3.1+cu121
- Datasets 2.21.0
- Tokenizers 0.19.1
- Downloads last month
- 7
Model tree for saad7489/segformer-b0-finetuned-segments-SixrayKnife8-21-2024_saad6
Base model
nvidia/mit-b0