End of training
Browse files
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-cppe5-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-cppe5-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: 11.9610
|
20 |
+
- Map: 0.3649
|
21 |
+
- Map 50: 0.6413
|
22 |
+
- Map 75: 0.3314
|
23 |
+
- Map Small: 0.3681
|
24 |
+
- Map Medium: 0.3514
|
25 |
+
- Map Large: 0.5909
|
26 |
+
- Mar 1: 0.315
|
27 |
+
- Mar 10: 0.5779
|
28 |
+
- Mar 100: 0.6508
|
29 |
+
- Mar Small: 0.4932
|
30 |
+
- Mar Medium: 0.5762
|
31 |
+
- Mar Large: 0.784
|
32 |
+
- Map Coverall: 0.5504
|
33 |
+
- Mar 100 Coverall: 0.8538
|
34 |
+
- Map Face Shield: 0.3497
|
35 |
+
- Mar 100 Face Shield: 0.7471
|
36 |
+
- Map Gloves: 0.2505
|
37 |
+
- Mar 100 Gloves: 0.4915
|
38 |
+
- Map Goggles: 0.2357
|
39 |
+
- Mar 100 Goggles: 0.5655
|
40 |
+
- Map Mask: 0.4385
|
41 |
+
- Mar 100 Mask: 0.5961
|
42 |
+
|
43 |
+
## Model description
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Intended uses & limitations
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training and evaluation data
|
52 |
+
|
53 |
+
More information needed
|
54 |
+
|
55 |
+
## Training procedure
|
56 |
+
|
57 |
+
### Training hyperparameters
|
58 |
+
|
59 |
+
The following hyperparameters were used during training:
|
60 |
+
- learning_rate: 5e-05
|
61 |
+
- train_batch_size: 8
|
62 |
+
- eval_batch_size: 8
|
63 |
+
- seed: 42
|
64 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
65 |
+
- lr_scheduler_type: linear
|
66 |
+
- lr_scheduler_warmup_steps: 300
|
67 |
+
- num_epochs: 5
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| 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 Coverall | Mar 100 Coverall | Map Face Shield | Mar 100 Face Shield | Map Gloves | Mar 100 Gloves | Map Goggles | Mar 100 Goggles | Map Mask | Mar 100 Mask |
|
72 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:----------:|:---------:|:------:|:------:|:-------:|:---------:|:----------:|:---------:|:------------:|:----------------:|:---------------:|:-------------------:|:----------:|:--------------:|:-----------:|:---------------:|:--------:|:------------:|
|
73 |
+
| No log | 1.0 | 107 | 55.3917 | 0.0232 | 0.0485 | 0.0213 | 0.0 | 0.0062 | 0.0249 | 0.04 | 0.0855 | 0.0943 | 0.0 | 0.0516 | 0.1121 | 0.1087 | 0.3068 | 0.0004 | 0.0519 | 0.0001 | 0.0085 | 0.0 | 0.0277 | 0.0069 | 0.0769 |
|
74 |
+
| No log | 2.0 | 214 | 28.9185 | 0.1144 | 0.2063 | 0.1092 | 0.0122 | 0.0769 | 0.1746 | 0.1466 | 0.267 | 0.2858 | 0.0174 | 0.2233 | 0.5011 | 0.3659 | 0.6144 | 0.0255 | 0.238 | 0.0138 | 0.1277 | 0.0502 | 0.2092 | 0.1164 | 0.2396 |
|
75 |
+
| No log | 3.0 | 321 | 19.5631 | 0.1944 | 0.363 | 0.1809 | 0.1027 | 0.1483 | 0.2848 | 0.2424 | 0.4058 | 0.4504 | 0.2156 | 0.4032 | 0.654 | 0.4834 | 0.6883 | 0.0884 | 0.4747 | 0.0624 | 0.2429 | 0.0624 | 0.3692 | 0.2753 | 0.4769 |
|
76 |
+
| No log | 4.0 | 428 | 15.2810 | 0.2345 | 0.4587 | 0.2098 | 0.1045 | 0.1855 | 0.4544 | 0.2525 | 0.4567 | 0.5091 | 0.2361 | 0.4726 | 0.734 | 0.551 | 0.7279 | 0.1186 | 0.543 | 0.1237 | 0.417 | 0.1106 | 0.3846 | 0.2685 | 0.4729 |
|
77 |
+
| 55.6421 | 5.0 | 535 | 14.7773 | 0.2391 | 0.4678 | 0.2144 | 0.0671 | 0.1875 | 0.447 | 0.2633 | 0.4649 | 0.5141 | 0.2299 | 0.4817 | 0.7456 | 0.5519 | 0.7369 | 0.1398 | 0.5443 | 0.114 | 0.3906 | 0.1052 | 0.4262 | 0.2844 | 0.4724 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.50.0.dev0
|
83 |
+
- Pytorch 2.6.0+cu124
|
84 |
+
- Datasets 3.3.2
|
85 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "PekingU/rtdetr_v2_r50vd",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "silu",
|
5 |
+
"anchor_image_size": null,
|
6 |
+
"architectures": [
|
7 |
+
"RTDetrV2ForObjectDetection"
|
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_method": "default",
|
39 |
+
"decoder_n_levels": 3,
|
40 |
+
"decoder_n_points": 4,
|
41 |
+
"decoder_offset_scale": 0.5,
|
42 |
+
"disable_custom_kernels": true,
|
43 |
+
"dropout": 0.0,
|
44 |
+
"encode_proj_layers": [
|
45 |
+
2
|
46 |
+
],
|
47 |
+
"encoder_activation_function": "gelu",
|
48 |
+
"encoder_attention_heads": 8,
|
49 |
+
"encoder_ffn_dim": 1024,
|
50 |
+
"encoder_hidden_dim": 256,
|
51 |
+
"encoder_in_channels": [
|
52 |
+
512,
|
53 |
+
1024,
|
54 |
+
2048
|
55 |
+
],
|
56 |
+
"encoder_layers": 1,
|
57 |
+
"eos_coefficient": 0.0001,
|
58 |
+
"eval_size": null,
|
59 |
+
"feat_strides": [
|
60 |
+
8,
|
61 |
+
16,
|
62 |
+
32
|
63 |
+
],
|
64 |
+
"focal_loss_alpha": 0.75,
|
65 |
+
"focal_loss_gamma": 2.0,
|
66 |
+
"freeze_backbone_batch_norms": true,
|
67 |
+
"hidden_expansion": 1.0,
|
68 |
+
"id2label": {
|
69 |
+
"0": "Coverall",
|
70 |
+
"1": "Face_Shield",
|
71 |
+
"2": "Gloves",
|
72 |
+
"3": "Goggles",
|
73 |
+
"4": "Mask"
|
74 |
+
},
|
75 |
+
"initializer_bias_prior_prob": null,
|
76 |
+
"initializer_range": 0.01,
|
77 |
+
"is_encoder_decoder": true,
|
78 |
+
"label2id": {
|
79 |
+
"Coverall": 0,
|
80 |
+
"Face_Shield": 1,
|
81 |
+
"Gloves": 2,
|
82 |
+
"Goggles": 3,
|
83 |
+
"Mask": 4
|
84 |
+
},
|
85 |
+
"label_noise_ratio": 0.5,
|
86 |
+
"layer_norm_eps": 1e-05,
|
87 |
+
"learn_initial_query": false,
|
88 |
+
"matcher_alpha": 0.25,
|
89 |
+
"matcher_bbox_cost": 5.0,
|
90 |
+
"matcher_class_cost": 2.0,
|
91 |
+
"matcher_gamma": 2.0,
|
92 |
+
"matcher_giou_cost": 2.0,
|
93 |
+
"model_type": "rt_detr_v2",
|
94 |
+
"normalize_before": false,
|
95 |
+
"num_denoising": 100,
|
96 |
+
"num_feature_levels": 3,
|
97 |
+
"num_queries": 300,
|
98 |
+
"positional_encoding_temperature": 10000,
|
99 |
+
"torch_dtype": "float32",
|
100 |
+
"transformers_version": "4.50.0.dev0",
|
101 |
+
"use_focal_loss": true,
|
102 |
+
"use_pretrained_backbone": false,
|
103 |
+
"use_timm_backbone": false,
|
104 |
+
"weight_loss_bbox": 5.0,
|
105 |
+
"weight_loss_giou": 2.0,
|
106 |
+
"weight_loss_vfl": 1.0,
|
107 |
+
"with_box_refine": true
|
108 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39fc01619d86b0aa46ae0981942d0ab85500f02c5662afc0a8d5d01b33cb8e2c
|
3 |
+
size 171560340
|
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": 480,
|
24 |
+
"width": 480
|
25 |
+
}
|
26 |
+
}
|
runs/Mar10_16-04-15_b359c044831e/events.out.tfevents.1741622660.b359c044831e.3076.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b22a0f817f1c89b83d9488a3057d6afe114c423b4f600d5a9e327413d22cf20c
|
3 |
+
size 14668
|
runs/Mar10_16-04-15_b359c044831e/events.out.tfevents.1741623205.b359c044831e.3076.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c8de889fbd286b30c1dd38adeb5f4c94dc38e9bb22f3bd2d8d8d4aa34f682ea
|
3 |
+
size 1548
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70eaa74dc024fd4428a98302da9b01fadad4ad997b3464bdc9bb94137c9c97d8
|
3 |
+
size 5368
|