saad7489's picture
End of training
91a7e0d verified
---
license: other
base_model: nvidia/mit-b0
tags:
- vision
- image-segmentation
- generated_from_trainer
model-index:
- name: segformer-b0-finetuned-segments-SixrayKnife8-21-2024_saad4
results: []
---
<!-- 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. -->
# segformer-b0-finetuned-segments-SixrayKnife8-21-2024_saad4
This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on the saad7489/SixraygunTest dataset.
It achieves the following results on the evaluation set:
- Loss: 0.7234
- Mean Iou: 0.6226
- Mean Accuracy: 0.8700
- Overall Accuracy: 0.9541
- Accuracy Bkg: 0.9606
- Accuracy Knife: 0.7555
- Accuracy Gun: 0.8938
- Iou Bkg: 0.9554
- Iou Knife: 0.5429
- Iou Gun: 0.3694
## 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: 10
### 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.7509 | 5.0 | 20 | 0.9448 | 0.5528 | 0.8446 | 0.9374 | 0.9448 | 0.6569 | 0.9320 | 0.9419 | 0.4107 | 0.3057 |
| 0.6561 | 10.0 | 40 | 0.7234 | 0.6226 | 0.8700 | 0.9541 | 0.9606 | 0.7555 | 0.8938 | 0.9554 | 0.5429 | 0.3694 |
### Framework versions
- Transformers 4.42.4
- Pytorch 2.3.1+cu121
- Datasets 2.21.0
- Tokenizers 0.19.1