Model save
Browse files- README.md +110 -0
- config.json +125 -0
- model.safetensors +3 -0
- preprocessor_config.json +29 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: PekingU/rtdetr_r50vd
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: suas-2025-rtdetr-finetuned-b16-lr1e-5
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# suas-2025-rtdetr-finetuned-b16-lr1e-5
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [PekingU/rtdetr_r50vd](https://huggingface.co/PekingU/rtdetr_r50vd) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 3.6523
|
20 |
+
- Map: 0.8465
|
21 |
+
- Map 50: 0.9229
|
22 |
+
- Map 75: 0.9193
|
23 |
+
- Map Small: 0.7682
|
24 |
+
- Map Medium: 0.8561
|
25 |
+
- Map Large: 0.9144
|
26 |
+
- Mar 1: 0.7945
|
27 |
+
- Mar 10: 0.9245
|
28 |
+
- Mar 100: 0.9271
|
29 |
+
- Mar Small: 0.8316
|
30 |
+
- Mar Medium: 0.9357
|
31 |
+
- Mar Large: 0.9779
|
32 |
+
- Map Baseball-bat: 0.8128
|
33 |
+
- Mar 100 Baseball-bat: 0.892
|
34 |
+
- Map Basketball: 0.8105
|
35 |
+
- Mar 100 Basketball: 0.8993
|
36 |
+
- Map Car: -1.0
|
37 |
+
- Mar 100 Car: -1.0
|
38 |
+
- Map Football: 0.7611
|
39 |
+
- Mar 100 Football: 0.8113
|
40 |
+
- Map Human: 0.9382
|
41 |
+
- Mar 100 Human: 0.9641
|
42 |
+
- Map Luggage: 0.8579
|
43 |
+
- Mar 100 Luggage: 0.9191
|
44 |
+
- Map Mattress: 0.9384
|
45 |
+
- Mar 100 Mattress: 0.977
|
46 |
+
- Map Motorcycle: 0.9309
|
47 |
+
- Mar 100 Motorcycle: 0.9773
|
48 |
+
- Map Skis: 0.7044
|
49 |
+
- Mar 100 Skis: 0.995
|
50 |
+
- Map Snowboard: 0.9834
|
51 |
+
- Mar 100 Snowboard: 0.9932
|
52 |
+
- Map Soccer-ball: 0.8245
|
53 |
+
- Mar 100 Soccer-ball: 0.8733
|
54 |
+
- Map Stop-sign: 0.9671
|
55 |
+
- Mar 100 Stop-sign: 0.9925
|
56 |
+
- Map Tennis-racket: 0.7064
|
57 |
+
- Mar 100 Tennis-racket: 0.8539
|
58 |
+
- Map Umbrella: 0.8285
|
59 |
+
- Mar 100 Umbrella: 0.9803
|
60 |
+
- Map Volleyball: 0.787
|
61 |
+
- Mar 100 Volleyball: 0.8517
|
62 |
+
|
63 |
+
## Model description
|
64 |
+
|
65 |
+
More information needed
|
66 |
+
|
67 |
+
## Intended uses & limitations
|
68 |
+
|
69 |
+
More information needed
|
70 |
+
|
71 |
+
## Training and evaluation data
|
72 |
+
|
73 |
+
More information needed
|
74 |
+
|
75 |
+
## Training procedure
|
76 |
+
|
77 |
+
### Training hyperparameters
|
78 |
+
|
79 |
+
The following hyperparameters were used during training:
|
80 |
+
- learning_rate: 1e-05
|
81 |
+
- train_batch_size: 16
|
82 |
+
- eval_batch_size: 32
|
83 |
+
- seed: 1337
|
84 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
85 |
+
- lr_scheduler_type: linear
|
86 |
+
- num_epochs: 10.0
|
87 |
+
- mixed_precision_training: Native AMP
|
88 |
+
|
89 |
+
### Training results
|
90 |
+
|
91 |
+
| Training Loss | Epoch | Step | Validation Loss | Map | Map 50 | Map 75 | Map Small | Map Medium | Map Large | Mar 1 | Mar 10 | Mar 100 | Mar Small | Mar Medium | Mar Large | Map Baseball-bat | Mar 100 Baseball-bat | Map Basketball | Mar 100 Basketball | Map Car | Mar 100 Car | Map Football | Mar 100 Football | Map Human | Mar 100 Human | Map Luggage | Mar 100 Luggage | Map Mattress | Mar 100 Mattress | Map Motorcycle | Mar 100 Motorcycle | Map Skis | Mar 100 Skis | Map Snowboard | Mar 100 Snowboard | Map Soccer-ball | Mar 100 Soccer-ball | Map Stop-sign | Mar 100 Stop-sign | Map Tennis-racket | Mar 100 Tennis-racket | Map Umbrella | Mar 100 Umbrella | Map Volleyball | Mar 100 Volleyball |
|
92 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:----------:|:---------:|:------:|:------:|:-------:|:---------:|:----------:|:---------:|:----------------:|:--------------------:|:--------------:|:------------------:|:-------:|:-----------:|:------------:|:----------------:|:---------:|:-------------:|:-----------:|:---------------:|:------------:|:----------------:|:--------------:|:------------------:|:--------:|:------------:|:-------------:|:-----------------:|:---------------:|:-------------------:|:-------------:|:-----------------:|:-----------------:|:---------------------:|:------------:|:----------------:|:--------------:|:------------------:|
|
93 |
+
| 26.4817 | 1.0 | 438 | 7.1796 | 0.5246 | 0.6136 | 0.5998 | 0.4998 | 0.4541 | 0.685 | 0.6337 | 0.8316 | 0.8375 | 0.7077 | 0.8446 | 0.9453 | 0.3868 | 0.8129 | 0.1579 | 0.8832 | -1.0 | -1.0 | 0.5107 | 0.6099 | 0.8625 | 0.9246 | 0.6942 | 0.792 | 0.568 | 0.8388 | 0.7128 | 0.9384 | 0.085 | 0.9099 | 0.9532 | 0.9784 | 0.5658 | 0.7478 | 0.3822 | 0.9553 | 0.2726 | 0.7264 | 0.6033 | 0.9515 | 0.5895 | 0.6554 |
|
94 |
+
| 8.2849 | 2.0 | 876 | 5.1650 | 0.6623 | 0.7385 | 0.7311 | 0.6108 | 0.674 | 0.8009 | 0.6914 | 0.87 | 0.8726 | 0.7227 | 0.9081 | 0.9696 | 0.7515 | 0.8723 | 0.2886 | 0.8671 | -1.0 | -1.0 | 0.6431 | 0.7019 | 0.9057 | 0.9462 | 0.8014 | 0.8587 | 0.8949 | 0.9605 | 0.8986 | 0.9603 | 0.1247 | 0.9936 | 0.9665 | 0.9862 | 0.7817 | 0.8419 | 0.8546 | 0.9869 | 0.0862 | 0.7197 | 0.7593 | 0.9635 | 0.5151 | 0.5581 |
|
95 |
+
| 6.559 | 3.0 | 1314 | 4.4005 | 0.7504 | 0.8276 | 0.8215 | 0.7114 | 0.7272 | 0.8594 | 0.7435 | 0.8949 | 0.8966 | 0.7711 | 0.9093 | 0.975 | 0.7706 | 0.8428 | 0.6714 | 0.8801 | -1.0 | -1.0 | 0.6961 | 0.7498 | 0.9191 | 0.9553 | 0.8097 | 0.8663 | 0.9315 | 0.981 | 0.9122 | 0.9665 | 0.356 | 0.9926 | 0.9799 | 0.9927 | 0.8045 | 0.8594 | 0.9288 | 0.9846 | 0.2706 | 0.7788 | 0.7865 | 0.9736 | 0.6683 | 0.7284 |
|
96 |
+
| 6.1007 | 4.0 | 1752 | 4.3050 | 0.7733 | 0.8501 | 0.8445 | 0.672 | 0.8036 | 0.8698 | 0.75 | 0.8933 | 0.8959 | 0.7471 | 0.93 | 0.977 | 0.7927 | 0.8788 | 0.5734 | 0.7517 | -1.0 | -1.0 | 0.7111 | 0.7712 | 0.9262 | 0.959 | 0.8357 | 0.8953 | 0.9221 | 0.966 | 0.9326 | 0.9731 | 0.4091 | 0.9936 | 0.9788 | 0.9937 | 0.7975 | 0.8563 | 0.9535 | 0.9877 | 0.5879 | 0.8409 | 0.798 | 0.9753 | 0.6073 | 0.6998 |
|
97 |
+
| 5.7812 | 5.0 | 2190 | 3.9205 | 0.8281 | 0.91 | 0.9046 | 0.741 | 0.8373 | 0.9087 | 0.7819 | 0.9162 | 0.9196 | 0.8073 | 0.9294 | 0.9776 | 0.8105 | 0.8866 | 0.7005 | 0.8344 | -1.0 | -1.0 | 0.7656 | 0.8203 | 0.9326 | 0.9609 | 0.8291 | 0.9 | 0.9399 | 0.9791 | 0.9223 | 0.9695 | 0.6417 | 0.9906 | 0.977 | 0.9935 | 0.8194 | 0.8738 | 0.9422 | 0.9858 | 0.7258 | 0.8819 | 0.8433 | 0.9767 | 0.744 | 0.8208 |
|
98 |
+
| 5.4833 | 6.0 | 2628 | 3.7494 | 0.8402 | 0.9191 | 0.915 | 0.7567 | 0.861 | 0.9247 | 0.7947 | 0.9219 | 0.9246 | 0.8235 | 0.9378 | 0.9902 | 0.8153 | 0.8907 | 0.8096 | 0.9043 | -1.0 | -1.0 | 0.7586 | 0.8083 | 0.9378 | 0.9627 | 0.8322 | 0.9015 | 0.9545 | 0.989 | 0.9241 | 0.9725 | 0.7303 | 0.9926 | 0.9832 | 0.9947 | 0.8225 | 0.8707 | 0.9542 | 0.988 | 0.6731 | 0.871 | 0.8273 | 0.9776 | 0.7398 | 0.8213 |
|
99 |
+
| 5.3134 | 7.0 | 3066 | 3.7250 | 0.8437 | 0.9213 | 0.9165 | 0.7597 | 0.854 | 0.919 | 0.7917 | 0.9213 | 0.9241 | 0.8256 | 0.9419 | 0.9775 | 0.8142 | 0.8876 | 0.8066 | 0.9014 | -1.0 | -1.0 | 0.7341 | 0.7887 | 0.9359 | 0.9624 | 0.8417 | 0.9133 | 0.9412 | 0.9782 | 0.9292 | 0.9777 | 0.713 | 0.9931 | 0.9828 | 0.9934 | 0.828 | 0.8761 | 0.963 | 0.9922 | 0.7265 | 0.8554 | 0.8307 | 0.9791 | 0.7646 | 0.8392 |
|
100 |
+
| 5.2982 | 8.0 | 3504 | 3.7825 | 0.8419 | 0.9181 | 0.9133 | 0.7599 | 0.8549 | 0.9154 | 0.7909 | 0.9198 | 0.922 | 0.8277 | 0.9355 | 0.9768 | 0.8151 | 0.8931 | 0.8242 | 0.9066 | -1.0 | -1.0 | 0.7225 | 0.772 | 0.9375 | 0.9627 | 0.8383 | 0.9052 | 0.9338 | 0.9744 | 0.9288 | 0.9755 | 0.7353 | 0.996 | 0.9818 | 0.9925 | 0.8221 | 0.873 | 0.9675 | 0.9891 | 0.6801 | 0.8466 | 0.8273 | 0.9818 | 0.7726 | 0.8397 |
|
101 |
+
| 5.1855 | 9.0 | 3942 | 3.7947 | 0.8365 | 0.913 | 0.9085 | 0.7528 | 0.8439 | 0.9104 | 0.7884 | 0.9184 | 0.9219 | 0.8189 | 0.9344 | 0.979 | 0.8041 | 0.8864 | 0.8009 | 0.8955 | -1.0 | -1.0 | 0.7239 | 0.7755 | 0.9351 | 0.9622 | 0.8444 | 0.9119 | 0.9314 | 0.9771 | 0.9241 | 0.9735 | 0.7034 | 0.995 | 0.984 | 0.995 | 0.8168 | 0.8704 | 0.9639 | 0.9922 | 0.6888 | 0.8513 | 0.8203 | 0.9808 | 0.7704 | 0.8402 |
|
102 |
+
| 5.1499 | 10.0 | 4380 | 3.6523 | 0.8465 | 0.9229 | 0.9193 | 0.7682 | 0.8561 | 0.9144 | 0.7945 | 0.9245 | 0.9271 | 0.8316 | 0.9357 | 0.9779 | 0.8128 | 0.892 | 0.8105 | 0.8993 | -1.0 | -1.0 | 0.7611 | 0.8113 | 0.9382 | 0.9641 | 0.8579 | 0.9191 | 0.9384 | 0.977 | 0.9309 | 0.9773 | 0.7044 | 0.995 | 0.9834 | 0.9932 | 0.8245 | 0.8733 | 0.9671 | 0.9925 | 0.7064 | 0.8539 | 0.8285 | 0.9803 | 0.787 | 0.8517 |
|
103 |
+
|
104 |
+
|
105 |
+
### Framework versions
|
106 |
+
|
107 |
+
- Transformers 4.47.0
|
108 |
+
- Pytorch 2.5.1+cu124
|
109 |
+
- Datasets 3.1.0
|
110 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "PekingU/rtdetr_r50vd",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "silu",
|
5 |
+
"anchor_image_size": null,
|
6 |
+
"architectures": [
|
7 |
+
"RTDetrForObjectDetection"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"auxiliary_loss": true,
|
11 |
+
"backbone": null,
|
12 |
+
"backbone_config": {
|
13 |
+
"model_type": "rt_detr_resnet",
|
14 |
+
"out_features": [
|
15 |
+
"stage2",
|
16 |
+
"stage3",
|
17 |
+
"stage4"
|
18 |
+
],
|
19 |
+
"out_indices": [
|
20 |
+
2,
|
21 |
+
3,
|
22 |
+
4
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"backbone_kwargs": null,
|
26 |
+
"batch_norm_eps": 1e-05,
|
27 |
+
"box_noise_scale": 1.0,
|
28 |
+
"d_model": 256,
|
29 |
+
"decoder_activation_function": "relu",
|
30 |
+
"decoder_attention_heads": 8,
|
31 |
+
"decoder_ffn_dim": 1024,
|
32 |
+
"decoder_in_channels": [
|
33 |
+
256,
|
34 |
+
256,
|
35 |
+
256
|
36 |
+
],
|
37 |
+
"decoder_layers": 6,
|
38 |
+
"decoder_n_points": 4,
|
39 |
+
"disable_custom_kernels": true,
|
40 |
+
"dropout": 0.0,
|
41 |
+
"encode_proj_layers": [
|
42 |
+
2
|
43 |
+
],
|
44 |
+
"encoder_activation_function": "gelu",
|
45 |
+
"encoder_attention_heads": 8,
|
46 |
+
"encoder_ffn_dim": 1024,
|
47 |
+
"encoder_hidden_dim": 256,
|
48 |
+
"encoder_in_channels": [
|
49 |
+
512,
|
50 |
+
1024,
|
51 |
+
2048
|
52 |
+
],
|
53 |
+
"encoder_layers": 1,
|
54 |
+
"eos_coefficient": 0.0001,
|
55 |
+
"eval_size": null,
|
56 |
+
"feat_strides": [
|
57 |
+
8,
|
58 |
+
16,
|
59 |
+
32
|
60 |
+
],
|
61 |
+
"focal_loss_alpha": 0.75,
|
62 |
+
"focal_loss_gamma": 2.0,
|
63 |
+
"freeze_backbone_batch_norms": true,
|
64 |
+
"hidden_expansion": 1.0,
|
65 |
+
"id2label": {
|
66 |
+
"0": "baseball-bat",
|
67 |
+
"1": "basketball",
|
68 |
+
"2": "car",
|
69 |
+
"3": "football",
|
70 |
+
"4": "human",
|
71 |
+
"5": "luggage",
|
72 |
+
"6": "mattress",
|
73 |
+
"7": "motorcycle",
|
74 |
+
"8": "skis",
|
75 |
+
"9": "snowboard",
|
76 |
+
"10": "soccer-ball",
|
77 |
+
"11": "stop-sign",
|
78 |
+
"12": "tennis-racket",
|
79 |
+
"13": "umbrella",
|
80 |
+
"14": "volleyball"
|
81 |
+
},
|
82 |
+
"initializer_bias_prior_prob": null,
|
83 |
+
"initializer_range": 0.01,
|
84 |
+
"is_encoder_decoder": true,
|
85 |
+
"label2id": {
|
86 |
+
"baseball-bat": 0,
|
87 |
+
"basketball": 1,
|
88 |
+
"car": 2,
|
89 |
+
"football": 3,
|
90 |
+
"human": 4,
|
91 |
+
"luggage": 5,
|
92 |
+
"mattress": 6,
|
93 |
+
"motorcycle": 7,
|
94 |
+
"skis": 8,
|
95 |
+
"snowboard": 9,
|
96 |
+
"soccer-ball": 10,
|
97 |
+
"stop-sign": 11,
|
98 |
+
"tennis-racket": 12,
|
99 |
+
"umbrella": 13,
|
100 |
+
"volleyball": 14
|
101 |
+
},
|
102 |
+
"label_noise_ratio": 0.5,
|
103 |
+
"layer_norm_eps": 1e-05,
|
104 |
+
"learn_initial_query": false,
|
105 |
+
"matcher_alpha": 0.25,
|
106 |
+
"matcher_bbox_cost": 5.0,
|
107 |
+
"matcher_class_cost": 2.0,
|
108 |
+
"matcher_gamma": 2.0,
|
109 |
+
"matcher_giou_cost": 2.0,
|
110 |
+
"model_type": "rt_detr",
|
111 |
+
"normalize_before": false,
|
112 |
+
"num_denoising": 100,
|
113 |
+
"num_feature_levels": 3,
|
114 |
+
"num_queries": 300,
|
115 |
+
"positional_encoding_temperature": 10000,
|
116 |
+
"torch_dtype": "float32",
|
117 |
+
"transformers_version": "4.47.0",
|
118 |
+
"use_focal_loss": true,
|
119 |
+
"use_pretrained_backbone": false,
|
120 |
+
"use_timm_backbone": false,
|
121 |
+
"weight_loss_bbox": 5.0,
|
122 |
+
"weight_loss_giou": 2.0,
|
123 |
+
"weight_loss_vfl": 1.0,
|
124 |
+
"with_box_refine": true
|
125 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93fa78b396f2682f35de58aeee878881c1b86073af93fb9d587e2136c9c9c4c0
|
3 |
+
size 171641556
|
preprocessor_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_annotations": true,
|
3 |
+
"do_normalize": false,
|
4 |
+
"do_pad": true,
|
5 |
+
"do_rescale": true,
|
6 |
+
"do_resize": true,
|
7 |
+
"format": "coco_detection",
|
8 |
+
"image_mean": [
|
9 |
+
0.485,
|
10 |
+
0.456,
|
11 |
+
0.406
|
12 |
+
],
|
13 |
+
"image_processor_type": "RTDetrImageProcessor",
|
14 |
+
"image_std": [
|
15 |
+
0.229,
|
16 |
+
0.224,
|
17 |
+
0.225
|
18 |
+
],
|
19 |
+
"pad_size": {
|
20 |
+
"height": 640,
|
21 |
+
"width": 640
|
22 |
+
},
|
23 |
+
"resample": 2,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"max_height": 640,
|
27 |
+
"max_width": 640
|
28 |
+
}
|
29 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77c39dcf4ef26d810ca100d53473753a58f0013a906f4441b333909c1bbbfb27
|
3 |
+
size 5432
|