Model save
Browse files- README.md +105 -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,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
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
|
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.8868
|
20 |
+
- Map: 0.8924
|
21 |
+
- Map 50: 0.9568
|
22 |
+
- Map 75: 0.9554
|
23 |
+
- Map Small: 0.8115
|
24 |
+
- Map Medium: 0.9048
|
25 |
+
- Map Large: 0.9511
|
26 |
+
- Mar 1: 0.8296
|
27 |
+
- Mar 10: 0.938
|
28 |
+
- Mar 100: 0.9407
|
29 |
+
- Mar Small: 0.8752
|
30 |
+
- Mar Medium: 0.9535
|
31 |
+
- Mar Large: 0.9911
|
32 |
+
- Map Baseball-bat: 0.8962
|
33 |
+
- Mar 100 Baseball-bat: 0.9382
|
34 |
+
- Map Basketball: 0.8344
|
35 |
+
- Mar 100 Basketball: 0.9077
|
36 |
+
- Map Car: -1.0
|
37 |
+
- Mar 100 Car: -1.0
|
38 |
+
- Map Football: 0.814
|
39 |
+
- Mar 100 Football: 0.8709
|
40 |
+
- Map Human: 0.9172
|
41 |
+
- Mar 100 Human: 0.9686
|
42 |
+
- Map Luggage: 0.8623
|
43 |
+
- Mar 100 Luggage: 0.9241
|
44 |
+
- Map Mattress: 0.9809
|
45 |
+
- Mar 100 Mattress: 0.9971
|
46 |
+
- Map Motorcycle: 0.9393
|
47 |
+
- Mar 100 Motorcycle: 0.9751
|
48 |
+
- Map Skis: 0.8496
|
49 |
+
- Mar 100 Skis: 0.9692
|
50 |
+
- Map Snowboard: 0.9857
|
51 |
+
- Mar 100 Snowboard: 0.9947
|
52 |
+
- Map Soccer-ball: 0.8382
|
53 |
+
- Mar 100 Soccer-ball: 0.8755
|
54 |
+
- Map Stop-sign: 0.9735
|
55 |
+
- Mar 100 Stop-sign: 0.9957
|
56 |
+
- Map Tennis-racket: 0.9007
|
57 |
+
- Mar 100 Tennis-racket: 0.9245
|
58 |
+
- Map Umbrella: 0.8994
|
59 |
+
- Mar 100 Umbrella: 0.9775
|
60 |
+
- Map Volleyball: 0.8024
|
61 |
+
- Mar 100 Volleyball: 0.8507
|
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: 8
|
82 |
+
- eval_batch_size: 8
|
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: 5.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 |
+
| 12.0474 | 1.0 | 438 | 5.5119 | 0.8067 | 0.8868 | 0.8817 | 0.7597 | 0.7886 | 0.8834 | 0.7817 | 0.9168 | 0.924 | 0.8348 | 0.9511 | 0.9848 | 0.7992 | 0.9114 | 0.819 | 0.901 | -1.0 | -1.0 | 0.7627 | 0.8381 | 0.6589 | 0.9657 | 0.8118 | 0.9173 | 0.9643 | 0.9961 | 0.8513 | 0.9658 | 0.5388 | 0.9767 | 0.9801 | 0.9925 | 0.7934 | 0.85 | 0.9652 | 0.988 | 0.8307 | 0.9057 | 0.8198 | 0.9603 | 0.6983 | 0.7671 |
|
94 |
+
| 6.1205 | 2.0 | 876 | 5.0519 | 0.8186 | 0.8885 | 0.8836 | 0.746 | 0.7754 | 0.902 | 0.7791 | 0.9033 | 0.9094 | 0.8072 | 0.9373 | 0.9872 | 0.8735 | 0.9189 | 0.8175 | 0.9172 | -1.0 | -1.0 | 0.7607 | 0.8174 | 0.798 | 0.9653 | 0.8087 | 0.8941 | 0.9531 | 0.9942 | 0.7115 | 0.9665 | 0.7689 | 0.9508 | 0.9767 | 0.9957 | 0.7882 | 0.846 | 0.92 | 0.9799 | 0.8979 | 0.9208 | 0.7901 | 0.9309 | 0.5955 | 0.6338 |
|
95 |
+
| 5.3217 | 3.0 | 1314 | 4.0739 | 0.8811 | 0.9513 | 0.9499 | 0.7797 | 0.8841 | 0.9549 | 0.8259 | 0.9337 | 0.9374 | 0.8626 | 0.9518 | 0.9937 | 0.8664 | 0.9269 | 0.8426 | 0.9086 | -1.0 | -1.0 | 0.7995 | 0.8595 | 0.891 | 0.9688 | 0.8574 | 0.9292 | 0.9881 | 0.9998 | 0.9232 | 0.9719 | 0.8199 | 0.9958 | 0.9816 | 0.9932 | 0.82 | 0.862 | 0.979 | 0.994 | 0.8971 | 0.9198 | 0.8925 | 0.9689 | 0.777 | 0.8258 |
|
96 |
+
| 4.7931 | 4.0 | 1752 | 3.8984 | 0.8943 | 0.9605 | 0.9589 | 0.8046 | 0.9139 | 0.9535 | 0.8289 | 0.9363 | 0.9404 | 0.8726 | 0.9571 | 0.9849 | 0.8889 | 0.9341 | 0.8321 | 0.9053 | -1.0 | -1.0 | 0.809 | 0.8622 | 0.9072 | 0.9685 | 0.8876 | 0.9389 | 0.9796 | 0.9993 | 0.9379 | 0.9757 | 0.8801 | 0.96 | 0.9855 | 0.9972 | 0.8379 | 0.8745 | 0.9811 | 0.994 | 0.9046 | 0.9302 | 0.8907 | 0.9722 | 0.7979 | 0.8531 |
|
97 |
+
| 4.634 | 5.0 | 2190 | 3.8868 | 0.8924 | 0.9568 | 0.9554 | 0.8115 | 0.9048 | 0.9511 | 0.8296 | 0.938 | 0.9407 | 0.8752 | 0.9535 | 0.9911 | 0.8962 | 0.9382 | 0.8344 | 0.9077 | -1.0 | -1.0 | 0.814 | 0.8709 | 0.9172 | 0.9686 | 0.8623 | 0.9241 | 0.9809 | 0.9971 | 0.9393 | 0.9751 | 0.8496 | 0.9692 | 0.9857 | 0.9947 | 0.8382 | 0.8755 | 0.9735 | 0.9957 | 0.9007 | 0.9245 | 0.8994 | 0.9775 | 0.8024 | 0.8507 |
|
98 |
+
|
99 |
+
|
100 |
+
### Framework versions
|
101 |
+
|
102 |
+
- Transformers 4.47.0
|
103 |
+
- Pytorch 2.5.1+cu124
|
104 |
+
- Datasets 3.1.0
|
105 |
+
- 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:7ba40fe530999755a8e5eba10c156d7b9a1edf2f63f74fafcac9c906781511f3
|
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:bc16fe384f0a7520dc25ca672a63e3b0a5d6b5bfadf3a40f197a05d61b09a540
|
3 |
+
size 5368
|