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-lr3e-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-lr3e-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: 9.1849
|
20 |
+
- Map: 0.4811
|
21 |
+
- Map 50: 0.6742
|
22 |
+
- Map 75: 0.5153
|
23 |
+
- Map Small: 0.385
|
24 |
+
- Map Medium: 0.5129
|
25 |
+
- Map Large: 0.5739
|
26 |
+
- Mar 1: 0.5409
|
27 |
+
- Mar 10: 0.7299
|
28 |
+
- Mar 100: 0.7598
|
29 |
+
- Mar Small: 0.6142
|
30 |
+
- Mar Medium: 0.7825
|
31 |
+
- Mar Large: 0.8269
|
32 |
+
- Map Baseball-bat: 0.49
|
33 |
+
- Mar 100 Baseball-bat: 0.6707
|
34 |
+
- Map Basketball: 0.561
|
35 |
+
- Mar 100 Basketball: 0.6806
|
36 |
+
- Map Car: -1.0
|
37 |
+
- Mar 100 Car: -1.0
|
38 |
+
- Map Football: 0.3393
|
39 |
+
- Mar 100 Football: 0.6131
|
40 |
+
- Map Human: 0.7301
|
41 |
+
- Mar 100 Human: 0.9417
|
42 |
+
- Map Luggage: 0.6005
|
43 |
+
- Mar 100 Luggage: 0.8216
|
44 |
+
- Map Mattress: 0.048
|
45 |
+
- Mar 100 Mattress: 0.6785
|
46 |
+
- Map Motorcycle: 0.5833
|
47 |
+
- Mar 100 Motorcycle: 0.6382
|
48 |
+
- Map Skis: 0.8396
|
49 |
+
- Mar 100 Skis: 0.9198
|
50 |
+
- Map Snowboard: 0.6757
|
51 |
+
- Mar 100 Snowboard: 0.8016
|
52 |
+
- Map Soccer-ball: 0.3701
|
53 |
+
- Mar 100 Soccer-ball: 0.7694
|
54 |
+
- Map Stop-sign: 0.4419
|
55 |
+
- Mar 100 Stop-sign: 0.9539
|
56 |
+
- Map Tennis-racket: 0.4382
|
57 |
+
- Mar 100 Tennis-racket: 0.7518
|
58 |
+
- Map Umbrella: 0.2355
|
59 |
+
- Mar 100 Umbrella: 0.7241
|
60 |
+
- Map Volleyball: 0.382
|
61 |
+
- Mar 100 Volleyball: 0.6728
|
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: 3e-05
|
81 |
+
- train_batch_size: 16
|
82 |
+
- eval_batch_size: 16
|
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 |
+
| 23.0537 | 1.0 | 438 | 9.2431 | 0.6183 | 0.7399 | 0.7053 | 0.4862 | 0.6975 | 0.6277 | 0.698 | 0.8445 | 0.863 | 0.727 | 0.8914 | 0.9333 | 0.6135 | 0.8496 | 0.4784 | 0.7922 | -1.0 | -1.0 | 0.5092 | 0.7406 | 0.7931 | 0.9349 | 0.7264 | 0.8453 | 0.4151 | 0.9649 | 0.7746 | 0.8995 | 0.7873 | 0.9153 | 0.7978 | 0.9122 | 0.3779 | 0.6828 | 0.8549 | 0.957 | 0.6769 | 0.885 | 0.377 | 0.9438 | 0.4746 | 0.7593 |
|
94 |
+
| 9.6444 | 2.0 | 876 | 8.4354 | 0.5654 | 0.6543 | 0.6454 | 0.4377 | 0.6759 | 0.6517 | 0.6178 | 0.8051 | 0.8567 | 0.7616 | 0.8748 | 0.9001 | 0.6536 | 0.8175 | 0.4753 | 0.7836 | -1.0 | -1.0 | 0.4716 | 0.7781 | 0.7632 | 0.925 | 0.7675 | 0.8975 | 0.1446 | 0.8849 | 0.7513 | 0.884 | 0.8092 | 0.8936 | 0.796 | 0.9045 | 0.1811 | 0.8046 | 0.6988 | 0.9162 | 0.734 | 0.8762 | 0.2025 | 0.8361 | 0.4669 | 0.7924 |
|
95 |
+
| 7.9736 | 3.0 | 1314 | 8.1233 | 0.6032 | 0.7082 | 0.6974 | 0.4632 | 0.7302 | 0.7013 | 0.6284 | 0.8059 | 0.8518 | 0.7726 | 0.8713 | 0.8919 | 0.6745 | 0.7985 | 0.5687 | 0.8135 | -1.0 | -1.0 | 0.5098 | 0.7643 | 0.8075 | 0.917 | 0.7803 | 0.8888 | 0.1936 | 0.8645 | 0.8528 | 0.9092 | 0.8126 | 0.903 | 0.8344 | 0.8903 | 0.2384 | 0.8224 | 0.8343 | 0.9179 | 0.7266 | 0.8549 | 0.2001 | 0.7809 | 0.4116 | 0.8002 |
|
96 |
+
| 7.5623 | 4.0 | 1752 | 8.0717 | 0.6264 | 0.7342 | 0.7215 | 0.5182 | 0.734 | 0.7239 | 0.651 | 0.8219 | 0.8665 | 0.7837 | 0.8706 | 0.9228 | 0.7056 | 0.8205 | 0.6522 | 0.8386 | -1.0 | -1.0 | 0.5832 | 0.8142 | 0.7739 | 0.9234 | 0.808 | 0.8942 | 0.0914 | 0.8634 | 0.8597 | 0.9093 | 0.8828 | 0.9376 | 0.8274 | 0.8924 | 0.2734 | 0.8501 | 0.8612 | 0.9209 | 0.7139 | 0.8124 | 0.2524 | 0.8567 | 0.4843 | 0.7968 |
|
97 |
+
| 7.2751 | 5.0 | 2190 | 8.7630 | 0.5761 | 0.6678 | 0.6549 | 0.4548 | 0.6658 | 0.6059 | 0.6224 | 0.7803 | 0.8305 | 0.7163 | 0.8521 | 0.9175 | 0.5765 | 0.7835 | 0.5702 | 0.7898 | -1.0 | -1.0 | 0.4783 | 0.7281 | 0.7352 | 0.9097 | 0.7497 | 0.8839 | 0.0284 | 0.8625 | 0.7861 | 0.8506 | 0.8352 | 0.9277 | 0.833 | 0.8627 | 0.4065 | 0.7625 | 0.7123 | 0.9137 | 0.655 | 0.8026 | 0.2883 | 0.8388 | 0.4105 | 0.7105 |
|
98 |
+
| 7.2919 | 6.0 | 2628 | 8.3399 | 0.6044 | 0.7342 | 0.6966 | 0.4756 | 0.6987 | 0.7245 | 0.6285 | 0.7863 | 0.8232 | 0.6783 | 0.8579 | 0.8962 | 0.6153 | 0.7723 | 0.5137 | 0.7211 | -1.0 | -1.0 | 0.5038 | 0.7329 | 0.8326 | 0.9302 | 0.7848 | 0.8806 | 0.0252 | 0.7449 | 0.803 | 0.8632 | 0.8442 | 0.9158 | 0.8247 | 0.8912 | 0.4423 | 0.7519 | 0.8512 | 0.9458 | 0.6717 | 0.813 | 0.3123 | 0.8643 | 0.4365 | 0.6975 |
|
99 |
+
| 6.9699 | 7.0 | 3066 | 8.5778 | 0.5806 | 0.7101 | 0.6569 | 0.4371 | 0.6901 | 0.7185 | 0.6187 | 0.7898 | 0.8279 | 0.6748 | 0.865 | 0.9156 | 0.6135 | 0.7665 | 0.5259 | 0.7135 | -1.0 | -1.0 | 0.3524 | 0.6591 | 0.8118 | 0.9329 | 0.7602 | 0.8796 | 0.1264 | 0.8605 | 0.7603 | 0.8343 | 0.8279 | 0.9312 | 0.8645 | 0.9105 | 0.3614 | 0.7684 | 0.711 | 0.9377 | 0.663 | 0.8212 | 0.3093 | 0.8638 | 0.4402 | 0.7118 |
|
100 |
+
| 6.7247 | 8.0 | 3504 | 8.5073 | 0.5993 | 0.7448 | 0.6827 | 0.4588 | 0.6121 | 0.7777 | 0.6438 | 0.8042 | 0.8321 | 0.6614 | 0.8377 | 0.9399 | 0.6037 | 0.7583 | 0.6004 | 0.719 | -1.0 | -1.0 | 0.4472 | 0.7137 | 0.8139 | 0.9333 | 0.7039 | 0.8694 | 0.2481 | 0.9102 | 0.8006 | 0.845 | 0.885 | 0.9599 | 0.8342 | 0.8815 | 0.398 | 0.7242 | 0.5666 | 0.9377 | 0.5825 | 0.8135 | 0.4441 | 0.8946 | 0.4621 | 0.689 |
|
101 |
+
| 6.5664 | 9.0 | 3942 | 9.0973 | 0.4861 | 0.6532 | 0.5236 | 0.3138 | 0.536 | 0.6237 | 0.5459 | 0.7169 | 0.7528 | 0.5389 | 0.7868 | 0.8686 | 0.442 | 0.6763 | 0.4655 | 0.6182 | -1.0 | -1.0 | 0.3113 | 0.5423 | 0.7863 | 0.9349 | 0.6849 | 0.8274 | 0.0783 | 0.7612 | 0.6747 | 0.7367 | 0.8484 | 0.9386 | 0.7503 | 0.8272 | 0.2637 | 0.644 | 0.4794 | 0.9464 | 0.4634 | 0.7295 | 0.2248 | 0.744 | 0.3317 | 0.6123 |
|
102 |
+
| 6.2978 | 10.0 | 4380 | 9.1849 | 0.4811 | 0.6742 | 0.5153 | 0.385 | 0.5129 | 0.5739 | 0.5409 | 0.7299 | 0.7598 | 0.6142 | 0.7825 | 0.8269 | 0.49 | 0.6707 | 0.561 | 0.6806 | -1.0 | -1.0 | 0.3393 | 0.6131 | 0.7301 | 0.9417 | 0.6005 | 0.8216 | 0.048 | 0.6785 | 0.5833 | 0.6382 | 0.8396 | 0.9198 | 0.6757 | 0.8016 | 0.3701 | 0.7694 | 0.4419 | 0.9539 | 0.4382 | 0.7518 | 0.2355 | 0.7241 | 0.382 | 0.6728 |
|
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:f7321f03349e07fda39070b9846c7ae1d5116416fa4818e329ab62db88ac4876
|
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:0d4014d4de68ac02a3f9f5f5e5a967b68be7dda2df3c1bbac0af965700ad9e75
|
3 |
+
size 5432
|