End of training
Browse files
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: PekingU/rtdetr_v2_r50vd
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: rtdetr-v2-r50-kitti2-finetune-2
|
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 |
+
# rtdetr-v2-r50-kitti2-finetune-2
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [PekingU/rtdetr_v2_r50vd](https://huggingface.co/PekingU/rtdetr_v2_r50vd) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 10.8052
|
20 |
+
- Map: 0.3423
|
21 |
+
- Map 50: 0.5623
|
22 |
+
- Map 75: 0.3606
|
23 |
+
- Map Small: 0.2161
|
24 |
+
- Map Medium: 0.3631
|
25 |
+
- Map Large: 0.4172
|
26 |
+
- Mar 1: 0.2926
|
27 |
+
- Mar 10: 0.5137
|
28 |
+
- Mar 100: 0.5886
|
29 |
+
- Mar Small: 0.4156
|
30 |
+
- Mar Medium: 0.5976
|
31 |
+
- Mar Large: 0.6841
|
32 |
+
- Map Car: 0.6052
|
33 |
+
- Mar 100 Car: 0.7464
|
34 |
+
- Map Pedestrian: 0.3483
|
35 |
+
- Mar 100 Pedestrian: 0.5172
|
36 |
+
- Map Cyclist: 0.2062
|
37 |
+
- Mar 100 Cyclist: 0.4523
|
38 |
+
- Map Van: 0.5231
|
39 |
+
- Mar 100 Van: 0.7377
|
40 |
+
- Map Truck: 0.6026
|
41 |
+
- Mar 100 Truck: 0.7417
|
42 |
+
- Map Misc: 0.1678
|
43 |
+
- Mar 100 Misc: 0.516
|
44 |
+
- Map Tram: 0.3851
|
45 |
+
- Mar 100 Tram: 0.6984
|
46 |
+
- Map Person Sitting: 0.1978
|
47 |
+
- Mar 100 Person Sitting: 0.5314
|
48 |
+
- Map Dontcare: 0.0442
|
49 |
+
- Mar 100 Dontcare: 0.3566
|
50 |
+
|
51 |
+
## Model description
|
52 |
+
|
53 |
+
More information needed
|
54 |
+
|
55 |
+
## Intended uses & limitations
|
56 |
+
|
57 |
+
More information needed
|
58 |
+
|
59 |
+
## Training and evaluation data
|
60 |
+
|
61 |
+
More information needed
|
62 |
+
|
63 |
+
## Training procedure
|
64 |
+
|
65 |
+
### Training hyperparameters
|
66 |
+
|
67 |
+
The following hyperparameters were used during training:
|
68 |
+
- learning_rate: 5e-05
|
69 |
+
- train_batch_size: 8
|
70 |
+
- eval_batch_size: 8
|
71 |
+
- seed: 42
|
72 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
73 |
+
- lr_scheduler_type: linear
|
74 |
+
- lr_scheduler_warmup_steps: 300
|
75 |
+
- num_epochs: 10
|
76 |
+
|
77 |
+
### Training results
|
78 |
+
|
79 |
+
| 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 Car | Mar 100 Car | Map Pedestrian | Mar 100 Pedestrian | Map Cyclist | Mar 100 Cyclist | Map Van | Mar 100 Van | Map Truck | Mar 100 Truck | Map Misc | Mar 100 Misc | Map Tram | Mar 100 Tram | Map Person Sitting | Mar 100 Person Sitting | Map Dontcare | Mar 100 Dontcare |
|
80 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:----------:|:---------:|:------:|:------:|:-------:|:---------:|:----------:|:---------:|:-------:|:-----------:|:--------------:|:------------------:|:-----------:|:---------------:|:-------:|:-----------:|:---------:|:-------------:|:--------:|:------------:|:--------:|:------------:|:------------------:|:----------------------:|:------------:|:----------------:|
|
81 |
+
| 34.3989 | 1.0 | 655 | 10.4608 | 0.2538 | 0.4309 | 0.2527 | 0.1757 | 0.2643 | 0.3546 | 0.2566 | 0.4571 | 0.5322 | 0.3842 | 0.5368 | 0.6569 | 0.6141 | 0.743 | 0.2816 | 0.4418 | 0.1456 | 0.4579 | 0.4092 | 0.6612 | 0.4751 | 0.7195 | 0.0566 | 0.4101 | 0.133 | 0.6307 | 0.1334 | 0.4357 | 0.0356 | 0.2902 |
|
82 |
+
| 15.6516 | 2.0 | 1310 | 10.8110 | 0.3342 | 0.5511 | 0.3468 | 0.2589 | 0.3513 | 0.4378 | 0.2863 | 0.5125 | 0.5775 | 0.4382 | 0.5818 | 0.7005 | 0.6159 | 0.7491 | 0.3197 | 0.4894 | 0.249 | 0.4594 | 0.4919 | 0.6995 | 0.6118 | 0.7552 | 0.1736 | 0.502 | 0.3949 | 0.7102 | 0.1077 | 0.4786 | 0.0433 | 0.354 |
|
83 |
+
| 14.1316 | 3.0 | 1965 | 11.9174 | 0.3267 | 0.5128 | 0.3591 | 0.2156 | 0.3255 | 0.4735 | 0.2828 | 0.5065 | 0.5748 | 0.4402 | 0.5811 | 0.7018 | 0.5899 | 0.7322 | 0.3121 | 0.4754 | 0.2163 | 0.4766 | 0.4165 | 0.6865 | 0.5878 | 0.7526 | 0.1879 | 0.5507 | 0.429 | 0.6807 | 0.1537 | 0.45 | 0.0474 | 0.3687 |
|
84 |
+
| 12.9222 | 4.0 | 2620 | 12.5913 | 0.3124 | 0.4931 | 0.3376 | 0.2457 | 0.3275 | 0.46 | 0.279 | 0.4928 | 0.5516 | 0.4054 | 0.5606 | 0.688 | 0.5478 | 0.7176 | 0.2902 | 0.4381 | 0.13 | 0.413 | 0.4401 | 0.6785 | 0.5964 | 0.7468 | 0.2421 | 0.5601 | 0.4089 | 0.7057 | 0.108 | 0.3429 | 0.0482 | 0.3613 |
|
85 |
+
| 12.6036 | 5.0 | 3275 | 13.0327 | 0.3117 | 0.4742 | 0.3476 | 0.2483 | 0.3282 | 0.4539 | 0.2901 | 0.4865 | 0.5418 | 0.4431 | 0.5536 | 0.6582 | 0.5549 | 0.7381 | 0.292 | 0.4435 | 0.1428 | 0.3874 | 0.4093 | 0.6968 | 0.5729 | 0.7494 | 0.2757 | 0.6088 | 0.4991 | 0.6989 | 0.0056 | 0.1714 | 0.0528 | 0.3825 |
|
86 |
+
| 12.2062 | 6.0 | 3930 | 13.2957 | 0.3151 | 0.4824 | 0.3456 | 0.2292 | 0.3166 | 0.465 | 0.2908 | 0.4839 | 0.5362 | 0.4192 | 0.5437 | 0.663 | 0.5304 | 0.7357 | 0.2899 | 0.4352 | 0.1494 | 0.3556 | 0.4531 | 0.6872 | 0.5778 | 0.7442 | 0.3199 | 0.598 | 0.4628 | 0.7034 | 0.004 | 0.1714 | 0.0491 | 0.3949 |
|
87 |
+
| 11.847 | 7.0 | 4585 | 13.1970 | 0.309 | 0.4753 | 0.3435 | 0.2333 | 0.3199 | 0.4422 | 0.2983 | 0.4868 | 0.5398 | 0.4161 | 0.5544 | 0.6635 | 0.5359 | 0.7321 | 0.2909 | 0.4272 | 0.099 | 0.359 | 0.4248 | 0.6806 | 0.5835 | 0.7247 | 0.2946 | 0.6203 | 0.4941 | 0.7102 | 0.0087 | 0.2214 | 0.0495 | 0.3826 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.50.0.dev0
|
93 |
+
- Pytorch 2.6.0+cu124
|
94 |
+
- Datasets 3.4.0
|
95 |
+
- Tokenizers 0.21.1
|
config.json
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "silu",
|
4 |
+
"anchor_image_size": null,
|
5 |
+
"architectures": [
|
6 |
+
"RTDetrV2ForObjectDetection"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": true,
|
10 |
+
"backbone": null,
|
11 |
+
"backbone_config": {
|
12 |
+
"depths": [
|
13 |
+
3,
|
14 |
+
4,
|
15 |
+
6,
|
16 |
+
3
|
17 |
+
],
|
18 |
+
"downsample_in_bottleneck": false,
|
19 |
+
"downsample_in_first_stage": false,
|
20 |
+
"embedding_size": 64,
|
21 |
+
"hidden_act": "relu",
|
22 |
+
"hidden_sizes": [
|
23 |
+
256,
|
24 |
+
512,
|
25 |
+
1024,
|
26 |
+
2048
|
27 |
+
],
|
28 |
+
"layer_type": "bottleneck",
|
29 |
+
"model_type": "rt_detr_resnet",
|
30 |
+
"num_channels": 3,
|
31 |
+
"out_features": [
|
32 |
+
"stage2",
|
33 |
+
"stage3",
|
34 |
+
"stage4"
|
35 |
+
],
|
36 |
+
"out_indices": [
|
37 |
+
2,
|
38 |
+
3,
|
39 |
+
4
|
40 |
+
],
|
41 |
+
"stage_names": [
|
42 |
+
"stem",
|
43 |
+
"stage1",
|
44 |
+
"stage2",
|
45 |
+
"stage3",
|
46 |
+
"stage4"
|
47 |
+
]
|
48 |
+
},
|
49 |
+
"backbone_kwargs": null,
|
50 |
+
"batch_norm_eps": 1e-05,
|
51 |
+
"box_noise_scale": 1.0,
|
52 |
+
"d_model": 256,
|
53 |
+
"decoder_activation_function": "relu",
|
54 |
+
"decoder_attention_heads": 8,
|
55 |
+
"decoder_ffn_dim": 1024,
|
56 |
+
"decoder_in_channels": [
|
57 |
+
256,
|
58 |
+
256,
|
59 |
+
256
|
60 |
+
],
|
61 |
+
"decoder_layers": 6,
|
62 |
+
"decoder_method": "default",
|
63 |
+
"decoder_n_levels": 3,
|
64 |
+
"decoder_n_points": 4,
|
65 |
+
"decoder_offset_scale": 0.5,
|
66 |
+
"disable_custom_kernels": true,
|
67 |
+
"dropout": 0.0,
|
68 |
+
"encode_proj_layers": [
|
69 |
+
2
|
70 |
+
],
|
71 |
+
"encoder_activation_function": "gelu",
|
72 |
+
"encoder_attention_heads": 8,
|
73 |
+
"encoder_ffn_dim": 1024,
|
74 |
+
"encoder_hidden_dim": 256,
|
75 |
+
"encoder_in_channels": [
|
76 |
+
512,
|
77 |
+
1024,
|
78 |
+
2048
|
79 |
+
],
|
80 |
+
"encoder_layers": 1,
|
81 |
+
"eos_coefficient": 0.0001,
|
82 |
+
"eval_size": null,
|
83 |
+
"feat_strides": [
|
84 |
+
8,
|
85 |
+
16,
|
86 |
+
32
|
87 |
+
],
|
88 |
+
"focal_loss_alpha": 0.75,
|
89 |
+
"focal_loss_gamma": 2.0,
|
90 |
+
"freeze_backbone_batch_norms": true,
|
91 |
+
"hidden_expansion": 1.0,
|
92 |
+
"id2label": {
|
93 |
+
"0": "Car",
|
94 |
+
"1": "Pedestrian",
|
95 |
+
"2": "Cyclist",
|
96 |
+
"3": "Van",
|
97 |
+
"4": "Truck",
|
98 |
+
"5": "Misc",
|
99 |
+
"6": "Tram",
|
100 |
+
"7": "Person_sitting",
|
101 |
+
"8": "DontCare"
|
102 |
+
},
|
103 |
+
"initializer_bias_prior_prob": null,
|
104 |
+
"initializer_range": 0.01,
|
105 |
+
"is_encoder_decoder": true,
|
106 |
+
"label2id": {
|
107 |
+
"Car": 0,
|
108 |
+
"Cyclist": 2,
|
109 |
+
"DontCare": 8,
|
110 |
+
"Misc": 5,
|
111 |
+
"Pedestrian": 1,
|
112 |
+
"Person_sitting": 7,
|
113 |
+
"Tram": 6,
|
114 |
+
"Truck": 4,
|
115 |
+
"Van": 3
|
116 |
+
},
|
117 |
+
"label_noise_ratio": 0.5,
|
118 |
+
"layer_norm_eps": 1e-05,
|
119 |
+
"learn_initial_query": false,
|
120 |
+
"matcher_alpha": 0.25,
|
121 |
+
"matcher_bbox_cost": 5.0,
|
122 |
+
"matcher_class_cost": 2.0,
|
123 |
+
"matcher_gamma": 2.0,
|
124 |
+
"matcher_giou_cost": 2.0,
|
125 |
+
"model_type": "rt_detr_v2",
|
126 |
+
"normalize_before": false,
|
127 |
+
"num_denoising": 100,
|
128 |
+
"num_feature_levels": 3,
|
129 |
+
"num_queries": 300,
|
130 |
+
"positional_encoding_temperature": 10000,
|
131 |
+
"torch_dtype": "float32",
|
132 |
+
"transformers_version": "4.50.0.dev0",
|
133 |
+
"use_focal_loss": true,
|
134 |
+
"use_pretrained_backbone": false,
|
135 |
+
"use_timm_backbone": false,
|
136 |
+
"weight_loss_bbox": 5.0,
|
137 |
+
"weight_loss_giou": 2.0,
|
138 |
+
"weight_loss_vfl": 1.0,
|
139 |
+
"with_box_refine": true
|
140 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:419bb42dde067c605e5cc02f30347478b002c16eba46af2912ad742089346c17
|
3 |
+
size 171593228
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_annotations": true,
|
3 |
+
"do_normalize": false,
|
4 |
+
"do_pad": false,
|
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": null,
|
20 |
+
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
+
"size": {
|
23 |
+
"height": 640,
|
24 |
+
"width": 640
|
25 |
+
}
|
26 |
+
}
|
runs/Mar14_21-24-34_3e16e2837c1a/events.out.tfevents.1741987482.3e16e2837c1a.1032.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93ed09ec5d5283cb0caf7952342cf13da89fe411de0dbd58ec981d39b4232266
|
3 |
+
size 22932
|
runs/Mar14_21-24-34_3e16e2837c1a/events.out.tfevents.1741989539.3e16e2837c1a.1032.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d8efb43a9fdaadd97330d36fd17d52d1a9cf54eb4a4a594b4879e17de997ba2
|
3 |
+
size 1992
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:832295a8e6e833868a5f4cb1d2c5679916c5008db908b4efdab698e2fc104173
|
3 |
+
size 5368
|