Rajerswari commited on
Commit
76b6a5d
·
verified ·
1 Parent(s): 611dbdc

Model save

Browse files
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/detr-resnet-50
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: detr-finetuned-cppe-5-10k-steps
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
+ # detr-finetuned-cppe-5-10k-steps
16
+
17
+ This model is a fine-tuned version of [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 2.0867
20
+ - Map: 0.0493
21
+ - Map 50: 0.1064
22
+ - Map 75: 0.0379
23
+ - Map Small: 0.0072
24
+ - Map Medium: 0.0304
25
+ - Map Large: 0.0574
26
+ - Mar 1: 0.0805
27
+ - Mar 10: 0.1667
28
+ - Mar 100: 0.2069
29
+ - Mar Small: 0.073
30
+ - Mar Medium: 0.1572
31
+ - Mar Large: 0.2325
32
+ - Map Coverall: 0.1978
33
+ - Mar 100 Coverall: 0.5874
34
+ - Map Face Shield: 0.0
35
+ - Mar 100 Face Shield: 0.0
36
+ - Map Gloves: 0.0253
37
+ - Mar 100 Gloves: 0.204
38
+ - Map Goggles: 0.0
39
+ - Mar 100 Goggles: 0.0
40
+ - Map Mask: 0.0236
41
+ - Mar 100 Mask: 0.2431
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: 4
62
+ - eval_batch_size: 8
63
+ - seed: 1337
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
+ - num_epochs: 2.0
67
+ - mixed_precision_training: Native AMP
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
+ | 2.5499 | 1.0 | 213 | 2.3248 | 0.0367 | 0.0798 | 0.0325 | 0.0018 | 0.0114 | 0.0417 | 0.0555 | 0.1278 | 0.1648 | 0.0416 | 0.1044 | 0.2026 | 0.1697 | 0.5104 | 0.0 | 0.0 | 0.0078 | 0.1813 | 0.0 | 0.0 | 0.0058 | 0.1324 |
74
+ | 2.1119 | 2.0 | 426 | 2.0867 | 0.0493 | 0.1064 | 0.0379 | 0.0072 | 0.0304 | 0.0574 | 0.0805 | 0.1667 | 0.2069 | 0.073 | 0.1572 | 0.2325 | 0.1978 | 0.5874 | 0.0 | 0.0 | 0.0253 | 0.204 | 0.0 | 0.0 | 0.0236 | 0.2431 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.52.0.dev0
80
+ - Pytorch 2.7.0+cu118
81
+ - Datasets 3.6.0
82
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "relu",
4
+ "architectures": [
5
+ "DetrForObjectDetection"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "auxiliary_loss": false,
9
+ "backbone": "resnet50",
10
+ "backbone_config": null,
11
+ "backbone_kwargs": {
12
+ "in_chans": 3,
13
+ "out_indices": [
14
+ 1,
15
+ 2,
16
+ 3,
17
+ 4
18
+ ]
19
+ },
20
+ "bbox_cost": 5,
21
+ "bbox_loss_coefficient": 5,
22
+ "class_cost": 1,
23
+ "classifier_dropout": 0.0,
24
+ "d_model": 256,
25
+ "decoder_attention_heads": 8,
26
+ "decoder_ffn_dim": 2048,
27
+ "decoder_layerdrop": 0.0,
28
+ "decoder_layers": 6,
29
+ "dice_loss_coefficient": 1,
30
+ "dilation": false,
31
+ "dropout": 0.1,
32
+ "encoder_attention_heads": 8,
33
+ "encoder_ffn_dim": 2048,
34
+ "encoder_layerdrop": 0.0,
35
+ "encoder_layers": 6,
36
+ "eos_coefficient": 0.1,
37
+ "giou_cost": 2,
38
+ "giou_loss_coefficient": 2,
39
+ "id2label": {
40
+ "0": "Coverall",
41
+ "1": "Face_Shield",
42
+ "2": "Gloves",
43
+ "3": "Goggles",
44
+ "4": "Mask"
45
+ },
46
+ "init_std": 0.02,
47
+ "init_xavier_std": 1.0,
48
+ "is_encoder_decoder": true,
49
+ "label2id": {
50
+ "Coverall": 0,
51
+ "Face_Shield": 1,
52
+ "Gloves": 2,
53
+ "Goggles": 3,
54
+ "Mask": 4
55
+ },
56
+ "mask_loss_coefficient": 1,
57
+ "max_position_embeddings": 1024,
58
+ "model_type": "detr",
59
+ "num_channels": 3,
60
+ "num_hidden_layers": 6,
61
+ "num_queries": 100,
62
+ "position_embedding_type": "sine",
63
+ "scale_embedding": false,
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.52.0.dev0",
66
+ "use_pretrained_backbone": true,
67
+ "use_timm_backbone": true
68
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe86aa57b1bae988d030f9f14247795b8d09338f8e2a519d48517f8da385f3d1
3
+ size 166498936
preprocessor_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": false,
5
+ "device": null,
6
+ "do_center_crop": null,
7
+ "do_convert_annotations": true,
8
+ "do_convert_rgb": null,
9
+ "do_normalize": true,
10
+ "do_pad": true,
11
+ "do_rescale": true,
12
+ "do_resize": true,
13
+ "format": "coco_detection",
14
+ "image_mean": [
15
+ 0.485,
16
+ 0.456,
17
+ 0.406
18
+ ],
19
+ "image_processor_type": "DetrImageProcessorFast",
20
+ "image_std": [
21
+ 0.229,
22
+ 0.224,
23
+ 0.225
24
+ ],
25
+ "input_data_format": null,
26
+ "pad_size": {
27
+ "height": 600,
28
+ "width": 600
29
+ },
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "return_segmentation_masks": null,
33
+ "return_tensors": null,
34
+ "size": {
35
+ "max_height": 600,
36
+ "max_width": 600
37
+ }
38
+ }
runs/May08_17-24-01_PRLNB25003/events.out.tfevents.1746696262.PRLNB25003.23296.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:003d1db6717faf08baa723427384d8484a6e08b855be24454351187b579ca101
3
+ size 9597
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3f0c807b775f352694366faef821c2692a89d6e6873b26f3dcfb2e9d77eec99
3
+ size 5841