peldrak's picture
End of training
734a2bf verified
|
raw
history blame
24.9 kB
metadata
license: other
base_model: nvidia/segformer-b4-finetuned-cityscapes-1024-1024
tags:
  - vision
  - image-segmentation
  - generated_from_trainer
model-index:
  - name: segformer-b4-cityscapes-finetuned-coastTrain
    results: []

segformer-b4-cityscapes-finetuned-coastTrain

This model is a fine-tuned version of nvidia/segformer-b4-finetuned-cityscapes-1024-1024 on the peldrak/coastTrain dataset. It achieves the following results on the evaluation set:

  • Loss: 0.3556
  • Mean Iou: 0.7561
  • Mean Accuracy: 0.8443
  • Overall Accuracy: 0.9175
  • Accuracy Water: 0.9466
  • Accuracy Whitewater: 0.6901
  • Accuracy Sediment: 0.8516
  • Accuracy Other Natural Terrain: 0.6914
  • Accuracy Vegetation: 0.9725
  • Accuracy Development: 0.8959
  • Accuracy Unknown: 0.8623
  • Iou Water: 0.9040
  • Iou Whitewater: 0.5311
  • Iou Sediment: 0.7532
  • Iou Other Natural Terrain: 0.6223
  • Iou Vegetation: 0.8820
  • Iou Development: 0.7524
  • Iou Unknown: 0.8476
  • F1 Score: 0.9173

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

Training results

Training Loss Epoch Step Validation Loss Mean Iou Mean Accuracy Overall Accuracy Accuracy Water Accuracy Whitewater Accuracy Sediment Accuracy Other Natural Terrain Accuracy Vegetation Accuracy Development Accuracy Unknown Iou Water Iou Whitewater Iou Sediment Iou Other Natural Terrain Iou Vegetation Iou Development Iou Unknown F1 Score
1.6159 0.16 20 1.4743 0.3465 0.4471 0.6946 0.8336 0.0001 0.3708 0.0019 0.8458 0.4863 0.5910 0.6397 0.0001 0.2692 0.0016 0.5615 0.3639 0.5891 0.6796
1.3039 0.31 40 1.1133 0.4229 0.5298 0.7670 0.8703 0.0000 0.6398 0.0000 0.8251 0.6148 0.7589 0.7303 0.0000 0.3461 0.0000 0.6582 0.4702 0.7556 0.7615
1.1378 0.47 60 0.9002 0.4549 0.5455 0.8106 0.8950 0.0001 0.4156 0.0000 0.9384 0.7718 0.7978 0.7862 0.0001 0.3617 0.0000 0.7144 0.5295 0.7920 0.7949
0.8296 0.62 80 0.7117 0.4853 0.5698 0.8343 0.9301 0.0 0.6730 0.0 0.9536 0.6391 0.7927 0.8103 0.0 0.5208 0.0 0.7637 0.5108 0.7911 0.8202
1.4277 0.78 100 0.6559 0.4795 0.5637 0.8313 0.9643 0.0 0.5861 0.0 0.9123 0.6822 0.8008 0.7803 0.0 0.4585 0.0 0.7906 0.5310 0.7958 0.8168
0.915 0.93 120 0.6692 0.4593 0.5696 0.8003 0.9383 0.0 0.8360 0.0 0.7728 0.6365 0.8035 0.7894 0.0 0.3948 0.0 0.7080 0.5249 0.7978 0.7975
0.5845 1.09 140 0.5152 0.4939 0.5883 0.8398 0.9255 0.0 0.7697 0.0 0.9243 0.6947 0.8040 0.8302 0.0 0.4814 0.0 0.7844 0.5639 0.7976 0.8298
0.6603 1.24 160 0.4796 0.5211 0.6072 0.8577 0.9726 0.0 0.7405 0.0 0.9000 0.8342 0.8029 0.8280 0.0 0.5529 0.0 0.8020 0.6675 0.7974 0.8450
1.0074 1.4 180 0.4792 0.5257 0.6158 0.8621 0.9271 0.0 0.7763 0.0 0.9451 0.8562 0.8061 0.8431 0.0 0.5783 0.0 0.8138 0.6467 0.7984 0.8503
0.3431 1.55 200 0.4631 0.5344 0.6251 0.8682 0.9492 0.0 0.8284 0.0 0.9232 0.8698 0.8053 0.8460 0.0 0.6038 0.0 0.8304 0.6619 0.7988 0.8565
0.3317 1.71 220 0.4442 0.5296 0.6087 0.8641 0.9459 0.0000 0.7155 0.0 0.9544 0.8380 0.8069 0.8510 0.0000 0.5947 0.0 0.7913 0.6723 0.7981 0.8505
0.7125 1.86 240 0.4652 0.5287 0.6123 0.8609 0.9455 0.0000 0.7733 0.0 0.9300 0.8316 0.8057 0.8392 0.0000 0.6147 0.0 0.7861 0.6630 0.7979 0.8481
0.2776 2.02 260 0.4849 0.5259 0.6016 0.8644 0.9598 0.0000 0.6631 0.0 0.9632 0.8203 0.8044 0.8497 0.0000 0.5649 0.0 0.8021 0.6651 0.7992 0.8499
0.7679 2.17 280 0.4463 0.5333 0.6188 0.8653 0.9482 0.0010 0.7903 0.0 0.9284 0.8573 0.8065 0.8407 0.0010 0.5719 0.0 0.8101 0.7100 0.7996 0.8531
0.571 2.33 300 0.4167 0.5440 0.6279 0.8731 0.9367 0.0173 0.8056 0.0065 0.9581 0.8590 0.8120 0.8664 0.0173 0.6075 0.0065 0.8185 0.6910 0.8006 0.8612
0.451 2.48 320 0.4462 0.5393 0.6214 0.8734 0.9691 0.0046 0.7837 0.0022 0.9360 0.8399 0.8143 0.8518 0.0045 0.5904 0.0022 0.8424 0.6799 0.8038 0.8607
0.4442 2.64 340 0.4778 0.5263 0.6287 0.8555 0.9441 0.0371 0.8508 0.0 0.8623 0.8909 0.8158 0.8669 0.0367 0.5251 0.0 0.7737 0.6770 0.8048 0.8477
0.3257 2.79 360 0.4507 0.5432 0.6384 0.8628 0.9527 0.0327 0.8440 0.0508 0.8735 0.8931 0.8220 0.8595 0.0324 0.5533 0.0502 0.7834 0.7140 0.8098 0.8542
0.7477 2.95 380 0.3665 0.5797 0.6446 0.8904 0.9627 0.0750 0.7582 0.0186 0.9653 0.8778 0.8544 0.8720 0.0731 0.6663 0.0186 0.8306 0.7623 0.8350 0.8785
0.2692 3.1 400 0.4098 0.5707 0.6486 0.8840 0.9536 0.1067 0.8264 0.0026 0.9564 0.8753 0.8192 0.8729 0.1035 0.6058 0.0025 0.8395 0.7593 0.8112 0.8738
0.4504 3.26 420 0.3821 0.5977 0.6698 0.8874 0.9631 0.2230 0.7329 0.0862 0.9539 0.8833 0.8462 0.8712 0.2002 0.6279 0.0857 0.8354 0.7374 0.8262 0.8791
0.426 3.41 440 0.3995 0.5910 0.6636 0.8856 0.9655 0.2359 0.8131 0.0085 0.9567 0.8530 0.8127 0.8691 0.2182 0.6564 0.0085 0.8327 0.7526 0.7993 0.8764
0.5443 3.57 460 0.3611 0.6173 0.6880 0.8991 0.9471 0.2484 0.8521 0.0488 0.9532 0.8842 0.8819 0.8751 0.2234 0.6843 0.0481 0.8502 0.7845 0.8555 0.8916
0.4419 3.72 480 0.3920 0.6111 0.6927 0.8876 0.9396 0.3563 0.8102 0.0611 0.9618 0.8956 0.8243 0.8837 0.3152 0.6403 0.0608 0.8305 0.7323 0.8149 0.8815
0.4769 3.88 500 0.3631 0.6276 0.7045 0.8990 0.9527 0.3812 0.8409 0.0492 0.9512 0.8902 0.8658 0.8872 0.3400 0.6772 0.0490 0.8594 0.7429 0.8373 0.8927
0.3016 4.03 520 0.3577 0.6473 0.7262 0.8989 0.9493 0.4276 0.8062 0.1820 0.9519 0.8992 0.8675 0.8857 0.3481 0.6790 0.1769 0.8505 0.7499 0.8407 0.8947
0.3139 4.19 540 0.3647 0.6394 0.7213 0.8980 0.9615 0.4900 0.7992 0.1045 0.9456 0.8868 0.8615 0.8899 0.3818 0.6598 0.1023 0.8494 0.7541 0.8384 0.8932
0.7716 4.34 560 0.3705 0.6355 0.7131 0.8977 0.9637 0.4701 0.7886 0.0669 0.9528 0.9031 0.8463 0.8825 0.3893 0.6725 0.0654 0.8541 0.7561 0.8282 0.8917
0.2064 4.5 580 0.3519 0.6475 0.7311 0.9003 0.9550 0.4379 0.8497 0.1562 0.9391 0.9258 0.8543 0.8795 0.3560 0.6969 0.1517 0.8697 0.7477 0.8311 0.8963
0.328 4.65 600 0.3472 0.6668 0.7453 0.9030 0.9492 0.5101 0.8296 0.2324 0.9661 0.8668 0.8627 0.8829 0.3997 0.6923 0.2227 0.8630 0.7680 0.8389 0.8997
0.232 4.81 620 0.3783 0.7012 0.8077 0.8943 0.9511 0.5130 0.8176 0.7141 0.9107 0.8877 0.8599 0.8866 0.3894 0.6315 0.5600 0.8175 0.7807 0.8426 0.8945
0.2855 4.96 640 0.3812 0.6955 0.7845 0.9027 0.9371 0.5656 0.8306 0.4463 0.9620 0.8968 0.8529 0.8823 0.4207 0.6727 0.4128 0.8548 0.7783 0.8470 0.9018
0.2412 5.12 660 0.3655 0.7137 0.7974 0.9056 0.9459 0.5650 0.8384 0.5349 0.9625 0.8866 0.8485 0.8817 0.4150 0.7214 0.5173 0.8632 0.7662 0.8312 0.9046
0.2082 5.27 680 0.3343 0.7154 0.7934 0.9107 0.9527 0.5929 0.8280 0.4559 0.9642 0.8966 0.8639 0.8959 0.4573 0.7323 0.4429 0.8625 0.7733 0.8435 0.9092
0.4416 5.43 700 0.3514 0.7158 0.8003 0.9106 0.9331 0.6079 0.8660 0.4651 0.9703 0.8886 0.8712 0.8901 0.4638 0.7276 0.4346 0.8657 0.7771 0.8519 0.9096
0.191 5.58 720 0.3179 0.7306 0.8196 0.9125 0.9549 0.6056 0.8420 0.6048 0.9500 0.9155 0.8646 0.8965 0.4449 0.7542 0.5473 0.8730 0.7584 0.8402 0.9120
0.1884 5.74 740 0.3441 0.7366 0.8194 0.9126 0.9441 0.5602 0.8682 0.6389 0.9625 0.9001 0.8616 0.8940 0.4449 0.7405 0.5858 0.8699 0.7836 0.8373 0.9118
0.277 5.89 760 0.3121 0.7419 0.8205 0.9179 0.9577 0.6134 0.8338 0.5970 0.9604 0.8962 0.8852 0.8999 0.4515 0.7449 0.5659 0.8772 0.7983 0.8554 0.9171
0.181 6.05 780 0.3543 0.7314 0.8129 0.9141 0.9517 0.6239 0.8661 0.5168 0.9583 0.9120 0.8611 0.8967 0.4857 0.7511 0.4988 0.8758 0.7719 0.8397 0.9131
0.1812 6.2 800 0.3260 0.7370 0.8187 0.9140 0.9581 0.5996 0.8174 0.6378 0.9665 0.8854 0.8660 0.9089 0.4675 0.7414 0.5870 0.8731 0.7410 0.8404 0.9132
0.1737 6.36 820 0.3332 0.7311 0.8173 0.9134 0.9587 0.6011 0.8190 0.6142 0.9651 0.9095 0.8536 0.9089 0.4873 0.7495 0.5235 0.8716 0.7367 0.8402 0.9127
0.2288 6.51 840 0.3547 0.7397 0.8353 0.9146 0.9514 0.6385 0.8815 0.6453 0.9457 0.9239 0.8611 0.9052 0.5085 0.7485 0.5461 0.8735 0.7437 0.8528 0.9148
0.2722 6.67 860 0.3257 0.7501 0.8314 0.9175 0.9495 0.6057 0.8482 0.6794 0.9728 0.8990 0.8656 0.9072 0.4650 0.7707 0.6232 0.8764 0.7683 0.8397 0.9169
0.2327 6.82 880 0.3177 0.7464 0.8279 0.9170 0.9540 0.6026 0.8618 0.6429 0.9603 0.9067 0.8672 0.9030 0.4690 0.7625 0.5943 0.8762 0.7777 0.8421 0.9163
0.247 6.98 900 0.3146 0.7526 0.8490 0.9174 0.9402 0.6725 0.8768 0.7106 0.9599 0.9089 0.8740 0.9039 0.4700 0.7599 0.6354 0.8837 0.7748 0.8408 0.9176
0.2542 7.13 920 0.3387 0.7374 0.8389 0.9121 0.9573 0.6641 0.8635 0.6808 0.9370 0.9068 0.8626 0.9174 0.5178 0.7097 0.5533 0.8533 0.7567 0.8537 0.9124
0.1622 7.29 940 0.3292 0.7482 0.8385 0.9186 0.9622 0.6632 0.8540 0.6643 0.9612 0.9071 0.8574 0.9170 0.5046 0.7675 0.5736 0.8747 0.7474 0.8521 0.9184
0.1368 7.44 960 0.3336 0.7415 0.8419 0.9151 0.9474 0.6611 0.8813 0.6698 0.9465 0.9200 0.8669 0.9064 0.4912 0.7463 0.5738 0.8774 0.7416 0.8540 0.9155
0.2087 7.6 980 0.3307 0.7536 0.8373 0.9185 0.9561 0.6598 0.8369 0.6690 0.9684 0.9071 0.8639 0.9108 0.4946 0.7646 0.6196 0.8785 0.7635 0.8437 0.9181
0.2024 7.75 1000 0.3194 0.7605 0.8388 0.9201 0.9688 0.6495 0.8571 0.6775 0.9608 0.9010 0.8572 0.9036 0.4891 0.7906 0.6303 0.8787 0.7939 0.8374 0.9194
0.2944 7.91 1020 0.3314 0.7541 0.8434 0.9175 0.9483 0.6595 0.8877 0.6750 0.9554 0.9124 0.8656 0.8965 0.4958 0.7686 0.6094 0.8814 0.7844 0.8423 0.9173
0.2359 8.06 1040 0.3369 0.7373 0.8209 0.9143 0.9532 0.6466 0.8037 0.6139 0.9730 0.8879 0.8680 0.9019 0.4558 0.7295 0.5742 0.8700 0.7864 0.8435 0.9135
0.3261 8.22 1060 0.3308 0.7565 0.8404 0.9195 0.9564 0.6398 0.8636 0.6987 0.9672 0.8914 0.8656 0.9047 0.4834 0.7708 0.6200 0.8783 0.7963 0.8422 0.9189
0.1086 8.37 1080 0.3293 0.7539 0.8386 0.9189 0.9516 0.6520 0.8648 0.6747 0.9675 0.8878 0.8716 0.9034 0.4811 0.7606 0.6132 0.8798 0.7950 0.8443 0.9185
0.2145 8.53 1100 0.3120 0.7568 0.8356 0.9211 0.9515 0.6277 0.8697 0.6506 0.9684 0.9067 0.8745 0.9080 0.4859 0.7750 0.6132 0.8841 0.7839 0.8478 0.9206
0.2278 8.68 1120 0.3407 0.7588 0.8470 0.9194 0.9553 0.7077 0.8781 0.6847 0.9701 0.8735 0.8599 0.9094 0.5247 0.7740 0.6140 0.8786 0.7664 0.8448 0.9191
0.983 8.84 1140 0.3173 0.7529 0.8349 0.9193 0.9628 0.6234 0.8341 0.6921 0.9652 0.8985 0.8684 0.9098 0.4725 0.7579 0.6328 0.8825 0.7686 0.8464 0.9186
0.0743 8.99 1160 0.3556 0.7561 0.8443 0.9175 0.9466 0.6901 0.8516 0.6914 0.9725 0.8959 0.8623 0.9040 0.5311 0.7532 0.6223 0.8820 0.7524 0.8476 0.9173

Framework versions

  • Transformers 4.37.0
  • Pytorch 2.1.2
  • Datasets 2.18.0
  • Tokenizers 0.15.1