End of training
Browse files- README.md +49 -0
- config.json +69 -0
- model.safetensors +3 -0
- preprocessor_config.json +29 -0
- runs/Jan21_11-58-05_2547af257093/events.out.tfevents.1737460690.2547af257093.3020.0 +3 -0
- runs/Jan21_12-34-10_2547af257093/events.out.tfevents.1737462857.2547af257093.3020.8 +3 -0
- runs/Jan21_12-34-10_2547af257093/events.out.tfevents.1737463003.2547af257093.3020.9 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: microsoft/conditional-detr-resnet-50
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: detr_finetuned_cppe5
|
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_cppe5
|
16 |
+
|
17 |
+
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.
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 5e-05
|
37 |
+
- train_batch_size: 8
|
38 |
+
- eval_batch_size: 8
|
39 |
+
- seed: 42
|
40 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
41 |
+
- lr_scheduler_type: cosine
|
42 |
+
- num_epochs: 30
|
43 |
+
|
44 |
+
### Framework versions
|
45 |
+
|
46 |
+
- Transformers 4.47.1
|
47 |
+
- Pytorch 2.5.1+cu121
|
48 |
+
- Datasets 3.2.0
|
49 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/conditional-detr-resnet-50",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"ConditionalDetrForObjectDetection"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": false,
|
10 |
+
"backbone": "resnet50",
|
11 |
+
"backbone_config": null,
|
12 |
+
"backbone_kwargs": {
|
13 |
+
"in_chans": 3,
|
14 |
+
"out_indices": [
|
15 |
+
1,
|
16 |
+
2,
|
17 |
+
3,
|
18 |
+
4
|
19 |
+
]
|
20 |
+
},
|
21 |
+
"bbox_cost": 5,
|
22 |
+
"bbox_loss_coefficient": 5,
|
23 |
+
"class_cost": 2,
|
24 |
+
"cls_loss_coefficient": 2,
|
25 |
+
"d_model": 256,
|
26 |
+
"decoder_attention_heads": 8,
|
27 |
+
"decoder_ffn_dim": 2048,
|
28 |
+
"decoder_layerdrop": 0.0,
|
29 |
+
"decoder_layers": 6,
|
30 |
+
"dice_loss_coefficient": 1,
|
31 |
+
"dilation": false,
|
32 |
+
"dropout": 0.1,
|
33 |
+
"encoder_attention_heads": 8,
|
34 |
+
"encoder_ffn_dim": 2048,
|
35 |
+
"encoder_layerdrop": 0.0,
|
36 |
+
"encoder_layers": 6,
|
37 |
+
"focal_alpha": 0.25,
|
38 |
+
"giou_cost": 2,
|
39 |
+
"giou_loss_coefficient": 2,
|
40 |
+
"id2label": {
|
41 |
+
"0": "Coverall",
|
42 |
+
"1": "Face_Shield",
|
43 |
+
"2": "Gloves",
|
44 |
+
"3": "Goggles",
|
45 |
+
"4": "Mask"
|
46 |
+
},
|
47 |
+
"init_std": 0.02,
|
48 |
+
"init_xavier_std": 1.0,
|
49 |
+
"is_encoder_decoder": true,
|
50 |
+
"label2id": {
|
51 |
+
"Coverall": 0,
|
52 |
+
"Face_Shield": 1,
|
53 |
+
"Gloves": 2,
|
54 |
+
"Goggles": 3,
|
55 |
+
"Mask": 4
|
56 |
+
},
|
57 |
+
"mask_loss_coefficient": 1,
|
58 |
+
"max_position_embeddings": 1024,
|
59 |
+
"model_type": "conditional_detr",
|
60 |
+
"num_channels": 3,
|
61 |
+
"num_hidden_layers": 6,
|
62 |
+
"num_queries": 300,
|
63 |
+
"position_embedding_type": "sine",
|
64 |
+
"scale_embedding": false,
|
65 |
+
"torch_dtype": "float32",
|
66 |
+
"transformers_version": "4.47.1",
|
67 |
+
"use_pretrained_backbone": true,
|
68 |
+
"use_timm_backbone": true
|
69 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1580ab4b4f04733085f3c04dd4b611a947eafd9b30015191c285657079861559
|
3 |
+
size 174079796
|
preprocessor_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_annotations": true,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_pad": true,
|
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": "ConditionalDetrImageProcessor",
|
14 |
+
"image_std": [
|
15 |
+
0.229,
|
16 |
+
0.224,
|
17 |
+
0.225
|
18 |
+
],
|
19 |
+
"pad_size": {
|
20 |
+
"height": 480,
|
21 |
+
"width": 480
|
22 |
+
},
|
23 |
+
"resample": 2,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"max_height": 480,
|
27 |
+
"max_width": 480
|
28 |
+
}
|
29 |
+
}
|
runs/Jan21_11-58-05_2547af257093/events.out.tfevents.1737460690.2547af257093.3020.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c258498c820c658f85bf49390be850f22e06ff5114bbaf4ecc3918f3e9b712b0
|
3 |
+
size 5980
|
runs/Jan21_12-34-10_2547af257093/events.out.tfevents.1737462857.2547af257093.3020.8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a23f5d6875c5ab906456fe2601b15c492c4c5e5313d9aa87cfb3e5955c93ebcc
|
3 |
+
size 5980
|
runs/Jan21_12-34-10_2547af257093/events.out.tfevents.1737463003.2547af257093.3020.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dcc3a074abd506d6f92bd2e8aed81d89633ae5e495d9ec6dc15c34ab6f5ae92a
|
3 |
+
size 4184
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4dc34f5671761c5792bcae28e8ba5653c4ea41383b2c325dddf3df7cb86c15f
|
3 |
+
size 5368
|