AkremGomri commited on
Commit
0ccfd05
·
verified ·
1 Parent(s): 519f36c

End of training

Browse files
Files changed (5) hide show
  1. README.md +52 -0
  2. config.json +84 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +30 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/conditional-detr-resnet-50
5
+ tags:
6
+ - trackio
7
+ - trackio:https://huggingface.co/spaces/AkremGomri/trackio
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: detr_finetuned_cppe5
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ <a href="https://huggingface.co/spaces/AkremGomri/trackio" target="_blank"><img src="https://raw.githubusercontent.com/gradio-app/trackio/refs/heads/main/trackio/assets/badge.png" alt="Visualize in Trackio" title="Visualize in Trackio" style="height: 40px;"/></a>
18
+ # detr_finetuned_cppe5
19
+
20
+ This model is a fine-tuned version of [microsoft/conditional-detr-resnet-50](https://huggingface.co/microsoft/conditional-detr-resnet-50) on an unknown dataset.
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 5e-05
40
+ - train_batch_size: 8
41
+ - eval_batch_size: 8
42
+ - seed: 42
43
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
44
+ - lr_scheduler_type: cosine
45
+ - num_epochs: 30
46
+
47
+ ### Framework versions
48
+
49
+ - Transformers 5.1.0
50
+ - Pytorch 2.10.0+cu128
51
+ - Datasets 4.5.0
52
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "relu",
4
+ "architectures": [
5
+ "ConditionalDetrForObjectDetection"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "auxiliary_loss": false,
9
+ "backbone_config": {
10
+ "backbone": "resnet50",
11
+ "dtype": "float32",
12
+ "features_only": true,
13
+ "freeze_batch_norm_2d": false,
14
+ "model_type": "timm_backbone",
15
+ "num_channels": 3,
16
+ "out_features": [
17
+ "layer1",
18
+ "layer2",
19
+ "layer3",
20
+ "layer4"
21
+ ],
22
+ "out_indices": [
23
+ 1,
24
+ 2,
25
+ 3,
26
+ 4
27
+ ],
28
+ "output_stride": null,
29
+ "stage_names": [
30
+ "act1",
31
+ "layer1",
32
+ "layer2",
33
+ "layer3",
34
+ "layer4"
35
+ ],
36
+ "use_pretrained_backbone": false
37
+ },
38
+ "bbox_cost": 5,
39
+ "bbox_loss_coefficient": 5,
40
+ "class_cost": 2,
41
+ "cls_loss_coefficient": 2,
42
+ "d_model": 256,
43
+ "decoder_attention_heads": 8,
44
+ "decoder_ffn_dim": 2048,
45
+ "decoder_layerdrop": 0.0,
46
+ "decoder_layers": 6,
47
+ "dice_loss_coefficient": 1,
48
+ "dropout": 0.1,
49
+ "dtype": "float32",
50
+ "encoder_attention_heads": 8,
51
+ "encoder_ffn_dim": 2048,
52
+ "encoder_layerdrop": 0.0,
53
+ "encoder_layers": 6,
54
+ "focal_alpha": 0.25,
55
+ "giou_cost": 2,
56
+ "giou_loss_coefficient": 2,
57
+ "id2label": {
58
+ "0": "Coverall",
59
+ "1": "Face_Shield",
60
+ "2": "Gloves",
61
+ "3": "Goggles",
62
+ "4": "Mask"
63
+ },
64
+ "init_std": 0.02,
65
+ "init_xavier_std": 1.0,
66
+ "is_encoder_decoder": true,
67
+ "label2id": {
68
+ "Coverall": 0,
69
+ "Face_Shield": 1,
70
+ "Gloves": 2,
71
+ "Goggles": 3,
72
+ "Mask": 4
73
+ },
74
+ "mask_loss_coefficient": 1,
75
+ "max_position_embeddings": 1024,
76
+ "model_type": "conditional_detr",
77
+ "num_channels": 3,
78
+ "num_hidden_layers": 6,
79
+ "num_queries": 300,
80
+ "position_embedding_type": "sine",
81
+ "scale_embedding": false,
82
+ "transformers_version": "5.1.0",
83
+ "use_cache": false
84
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0556d7ef945c092a1c1145973d04eec525cb1e26efea574c218c4bb8e65644c
3
+ size 174079796
preprocessor_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_format": "channels_first",
3
+ "do_convert_annotations": true,
4
+ "do_normalize": true,
5
+ "do_pad": true,
6
+ "do_rescale": true,
7
+ "do_resize": true,
8
+ "format": "coco_detection",
9
+ "image_mean": [
10
+ 0.485,
11
+ 0.456,
12
+ 0.406
13
+ ],
14
+ "image_processor_type": "ConditionalDetrImageProcessorFast",
15
+ "image_std": [
16
+ 0.229,
17
+ 0.224,
18
+ 0.225
19
+ ],
20
+ "pad_size": {
21
+ "height": 400,
22
+ "width": 400
23
+ },
24
+ "resample": 2,
25
+ "rescale_factor": 0.00392156862745098,
26
+ "size": {
27
+ "max_height": 400,
28
+ "max_width": 400
29
+ }
30
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4f3af0313cbb00af1242f9cfb0b05a22c915f1627c72fd7e7d5d56184ef7e20
3
+ size 5201