b09501048 commited on
Commit
bb030cf
·
verified ·
1 Parent(s): 3d21e12

End of training

Browse files
Files changed (4) hide show
  1. README.md +47 -0
  2. config.json +129 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: rtdetr4
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # rtdetr4
14
+
15
+ This model was trained from scratch on an unknown dataset.
16
+
17
+ ## Model description
18
+
19
+ More information needed
20
+
21
+ ## Intended uses & limitations
22
+
23
+ More information needed
24
+
25
+ ## Training and evaluation data
26
+
27
+ More information needed
28
+
29
+ ## Training procedure
30
+
31
+ ### Training hyperparameters
32
+
33
+ The following hyperparameters were used during training:
34
+ - learning_rate: 5e-05
35
+ - train_batch_size: 8
36
+ - eval_batch_size: 8
37
+ - seed: 42
38
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
39
+ - lr_scheduler_type: linear
40
+ - num_epochs: 3.0
41
+
42
+ ### Framework versions
43
+
44
+ - Transformers 4.44.2
45
+ - Pytorch 2.4.1+cu121
46
+ - Datasets 3.0.1
47
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/artifacts/model-d9411pmm:v11",
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": "Person",
67
+ "1": "Ear",
68
+ "2": "Earmuffs",
69
+ "3": "Face",
70
+ "4": "Face-guard",
71
+ "5": "Face-mask-medical",
72
+ "6": "Foot",
73
+ "7": "Tools",
74
+ "8": "Glasses",
75
+ "9": "Gloves",
76
+ "10": "Helmet",
77
+ "11": "Hands",
78
+ "12": "Head",
79
+ "13": "Medical-suit",
80
+ "14": "Shoes",
81
+ "15": "Safety-suit",
82
+ "16": "Safety-vest"
83
+ },
84
+ "initializer_bias_prior_prob": null,
85
+ "initializer_range": 0.01,
86
+ "is_encoder_decoder": true,
87
+ "label2id": {
88
+ "Ear": 1,
89
+ "Earmuffs": 2,
90
+ "Face": 3,
91
+ "Face-guard": 4,
92
+ "Face-mask-medical": 5,
93
+ "Foot": 6,
94
+ "Glasses": 8,
95
+ "Gloves": 9,
96
+ "Hands": 11,
97
+ "Head": 12,
98
+ "Helmet": 10,
99
+ "Medical-suit": 13,
100
+ "Person": 0,
101
+ "Safety-suit": 15,
102
+ "Safety-vest": 16,
103
+ "Shoes": 14,
104
+ "Tools": 7
105
+ },
106
+ "label_noise_ratio": 0.5,
107
+ "layer_norm_eps": 1e-05,
108
+ "learn_initial_query": false,
109
+ "matcher_alpha": 0.25,
110
+ "matcher_bbox_cost": 5.0,
111
+ "matcher_class_cost": 2.0,
112
+ "matcher_gamma": 2.0,
113
+ "matcher_giou_cost": 2.0,
114
+ "model_type": "rt_detr",
115
+ "normalize_before": false,
116
+ "num_denoising": 100,
117
+ "num_feature_levels": 3,
118
+ "num_queries": 300,
119
+ "positional_encoding_temperature": 10000,
120
+ "torch_dtype": "float32",
121
+ "transformers_version": "4.44.2",
122
+ "use_focal_loss": true,
123
+ "use_pretrained_backbone": false,
124
+ "use_timm_backbone": false,
125
+ "weight_loss_bbox": 5.0,
126
+ "weight_loss_giou": 2.0,
127
+ "weight_loss_vfl": 1.0,
128
+ "with_box_refine": true
129
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62ce00eebf4851ecc73d4eb7ecda0f407b70fcd277c8b55c976a802941a2d8e3
3
+ size 171657996
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f60de2275202fd2889cda1ea0044f32f6b9937752b4b13bcafb84d2ca2cc7b5e
3
+ size 5176